Community Discussions and Support
Problems setting up Domain Mailbox (DM)

The other way to accept all messages for the domain is to check "Accept mail for invalid local addresses" in MercuryS configuration. If the recipient doesn't exist the message will then be forwarded to the postmaster account, and a notification will be sent to the sender.

The problem with accepting all mail is of course that one is likely to receive a ton of spam addressed to non-existent accounts. Unless that can be contained it's best to stop nondelivery notifications (by removing or renaming the template file failure.mer).

Only having a domain mailbox in the local domains list is somewhat less orthodox but works as well as long as there is no conflicting definition for the domain.

<p>The other way to accept all messages for the domain is to check "Accept mail for invalid local addresses" in MercuryS configuration. If the recipient doesn't exist the message will then be forwarded to the postmaster account, and a notification will be sent to the sender.</p><p>The problem with accepting all mail is of course that one is likely to receive a ton of spam addressed to non-existent accounts. Unless that can be contained it's best to stop nondelivery notifications (by removing or renaming the template file failure.mer).</p><p>Only having a domain mailbox in the local domains list is somewhat less orthodox but works as well as long as there is no conflicting definition for the domain.</p>

Having trouble working out how to set up a domain mailbox again (don't ask). I have edited the fields through the GUI but here is what's in my INI file.

 

[Domains]
reiner: reiner
reiner: rnr.id.au
reiner: [218.215.189.224]
DM=reiner: rnr.id.au
reiner: mail.rnr.id.au

If I send an email to reiner@rnr.id.au it works (and I can retrieve via POP3) but for anything else Mercury says "user <...> not known".
This stuff is the most important but its always been very confusing. 

 

&lt;p&gt;Having trouble working out how to set up a domain mailbox again (don&#039;t ask). I have edited the fields through the GUI but here is what&#039;s in my INI file. &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;pre&gt;[Domains] reiner: reiner reiner: rnr.id.au reiner: [218.215.189.224] DM=reiner: rnr.id.au reiner: mail.rnr.id.au If I send an email to reiner@rnr.id.au it works (and I can retrieve via POP3) but for anything else Mercury says &quot;user &amp;lt;...&amp;gt; not known&quot;.&lt;/pre&gt;&lt;pre&gt;This stuff is the most important but its always been very confusing. &lt;/pre&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

What form is the address taking? Are you addressing it to local-user-name@rnr.id.au. Are you sure the local users are properly set up?

What form is the address taking? Are you addressing it to local-user-name@rnr.id.au. Are you sure the local users are properly set up?

The problem is that the domain is defined twice, both as a regular local domain and as a domain mailbox. Assuming that this server is the primary mail handler for rnr.id.au there is probably no reason to have a domain mailbox.

 

&lt;p&gt;The problem is that the domain&amp;nbsp;&lt;span style=&quot;font-size: 13.3333px;&quot;&gt;is defined twice, both as a regular local domain and as a domain mailbox. Assuming that this server is the primary mail handler for&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 13.3333px;&quot;&gt;rnr.id.au there is probably no reason to have a domain mailbox.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

[quote user="Rolf Lindby"]

The problem is that the domain is defined twice, both as a regular local domain and as a domain mailbox. Assuming that this server is the primary mail handler for rnr.id.au there is probably no reason to have a domain mailbox.

 

[/quote]

Is that what the DM entry refers to?

[quote user=&quot;Rolf Lindby&quot;] &lt;P&gt;The problem is that the domain&amp;nbsp;&lt;SPAN style=&quot;FONT-SIZE: 13px&quot;&gt;is defined twice, both as a regular local domain and as a domain mailbox. Assuming that this server is the primary mail handler for&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style=&quot;FONT-SIZE: 13px&quot;&gt;rnr.id.au there is probably no reason to have a domain mailbox.&lt;/SPAN&gt;&lt;/P&gt; &lt;P mce_keep=&quot;true&quot;&gt;&amp;nbsp;&lt;/P&gt; &lt;P&gt;[/quote]&lt;/P&gt; &lt;P&gt;Is that what the DM entry refers to?&lt;/P&gt;

Yes exactly: 

Mercury supports the idea of a Domain Mailbox, or a mailbox that accepts mail addressed to any user at a given domain. To create a domain mailbox, first create the user account that is to receive all mail addressed to the domain, then place an entry in the Domains recognized as local by this server section in the following format:

  DM=username Domain address

Where username can be any valid reference to a single local user on your system. So, to create a domain mailbox where user mailserver receives all mail addressed to any user in the domain fish.net, you would create this entry:

  DM=mailserver fish.net

With this entry in place, mail sent to [any address]@fish.net will be delivered into user mailserver's mailbox.

 

&lt;p&gt;Yes exactly:&amp;nbsp;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Mercury supports the idea of a Domain Mailbox, or a mailbox that accepts mail addressed to any user at a given domain. To create a domain mailbox, first create the user account that is to receive all mail addressed to the domain, then place an entry in the Domains recognized as local by this server section in the following format:&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;DM=username&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;Domain address&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Where username can be any valid reference to a single local user on your system. So, to create a domain mailbox where user mailserver receives all mail addressed to any user in the domain fish.net, you would create this entry:&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;DM=mailserver&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;fish.net&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;With this entry in place, mail sent to [any address]@fish.net will be delivered into user mailserver&#039;s mailbox.&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

ok, got it working. Its all quite confusing because it puts in two entries from setup and then shows another one in help and then the DM entry and it is unclear that you really only need the one entry.

DM=reiner: rnr.id.au

With this as the only entry it works. Whew! Thanks guys.

&lt;p&gt;ok, got it working. Its all quite confusing because it puts in two entries from setup and then shows another one in help and then the DM entry and it is unclear that you really only need the one entry.&lt;/p&gt; &lt;pre&gt;DM=reiner: rnr.id.au&lt;/pre&gt; With this as the only entry it works. Whew! Thanks guys.

[quote user="Rolf Lindby"]Assuming that this server is the primary mail handler for rnr.id.au there is probably no reason to have a domain mailbox.

 

[/quote]

I was about to accept your response as the answer because it inspired me to delete all the other entries but what does this sentence mean? How else do you accept emails to *everything*@example.com?

[quote user=&quot;Rolf Lindby&quot;]&lt;span style=&quot;font-size: 13.3333px;&quot;&gt;Assuming that this server is the primary mail handler for&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 13.3333px;&quot;&gt;rnr.id.au there is probably no reason to have a domain mailbox.&lt;/span&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[/quote]&lt;/p&gt;&lt;p&gt;I was about to accept your response as the answer because it inspired me to delete all the other entries but what does this sentence mean? How else do you accept emails to *everything*@example.com? &lt;/p&gt;
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft