Community Discussions and Support
Routing mail to local users in a 2 server environment

4. You could set to use Mercury as http://en.wikipedia.org/wiki/Smarthost for local users on same domain and allow Relay Non-local mails thrum using single relay mail account.

Hopefully that some experienced user can explain how to set it up. I've been able to set it up when using MercE but with little bit more settings it should be manageable with MercC.

 Additionally in my case I was using 2 mercury servers inside two separate network workgroups of same LAN with 12 users in one workgroup and 53 in second where second Mercury server relayed all domain emails to first Mercury server using MercC where first one has done final delivering using MercE. So other way around First gets all mails for domain then all unknown emails for addresses not in first users group are saved in relay account that second Mercury server get using MercD and distribute to user accounts.

 Sorry again for complex description but when you get it done it works :( hopefully you will get an idea how to solve.

 Again: None of these methods would solve the problem where there is a user with the same name on both systems.

<p>4. You could set to use Mercury as http://en.wikipedia.org/wiki/Smarthost for local users on same domain and allow Relay Non-local mails thrum using single relay mail account.</p><p>Hopefully that some experienced user can explain how to set it up. I've been able to set it up when using MercE but with little bit more settings it should be manageable with MercC.</p><p> Additionally in my case I was using 2 mercury servers inside two separate network workgroups of same LAN with 12 users in one workgroup and 53 in second where second Mercury server relayed all domain emails to first Mercury server using MercC where first one has done final delivering using MercE. So other way around First gets all mails for domain then all unknown emails for addresses not in first users group are saved in relay account that second Mercury server get using MercD and distribute to user accounts. </p><p> Sorry again for complex description but when you get it done it works :( hopefully you will get an idea how to solve.</p><p> Again: None of these methods would solve the problem where there is a user with the same name on both systems. </p><img src="http://community.pmail.com/forums/data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAUCAYAAACJfM0wAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAAB90RVh0U29mdHdhcmUATWFjcm9tZWRpYSBGaXJld29ya3MgOLVo0ngAAAAWdEVYdENyZWF0aW9uIFRpbWUAMDQvMDQvMDhrK9wWAAACMElEQVQ4ja3SP2gTcRQH8O8vvUtIGmkqTY3SaMVFz6KDW2ywg4s4dGgXp3SyVLIIthCKQxCCuoZaXaSO/ilKd4sSdXRL0EWtIRYaSkXsJTH33utwSZM01xo0D353v+N+97l33/upQCAwFgwGfehiFYtFUxsYGPCmUqmv3YQTicSwBgCapnXTBQBoSinout5VVCnVDr/44B/OZH0xs6KMThCfR3LRs+aTycjvbwfCmawvduZkn7EwN4TBfheY90fXN6uYuffdyGQRu3apkmyDmzM2K8pYmBvC6kcLK+/KMEsWLCIQMSyLULUIFhH0HsGNycNYnDuO6PRno9lQSsFVh+tDQSEY6MHymzJKFQILgxkgYhALmBnMDLNsIf1sA8cG3VDYYzhFAWWfRBjCAiIbIxYQE1ga17+2GSICKLQYznCtiATEDK6BIrU5MUhgd0+NH+AIt+5jshdqgkpVwEwNkBgs9lyE4XY3nnLMWNf13QEAG1uE2JVe9PUC5JCvCMPrVpifOor1YnW34/pw7NjvVbmZ+3ljcTaMq5EjbRFJ07Gw8QfTd9fg96rc3o7bMh4f9SytvDenLl7/ZADAl5cjWF7dwmy60PaSeiPjo56lv2Ycnzi0Fp9AEgAu39x8+urtT9x5/GP74a2++LlTuumo76kDd4W9ALj9qIDIiOfBhdO+jtB9O279TFcuet77fD7Wn+sU7ajj1+kTSccb/wv/aymloEKh0Fg4HPZ2E87n86Udvs4FoWqwSHUAAAAASUVORK5CYII=" mce_src="http://community.pmail.com/forums/data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAUCAYAAACJfM0wAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAAB90RVh0U29mdHdhcmUATWFjcm9tZWRpYSBGaXJld29ya3MgOLVo0ngAAAAWdEVYdENyZWF0aW9uIFRpbWUAMDQvMDQvMDhrK9wWAAACMElEQVQ4ja3SP2gTcRQH8O8vvUtIGmkqTY3SaMVFz6KDW2ywg4s4dGgXp3SyVLIIthCKQxCCuoZaXaSO/ilKd4sSdXRL0EWtIRYaSkXsJTH33utwSZM01xo0D353v+N+97l33/upQCAwFgwGfehiFYtFUxsYGPCmUqmv3YQTicSwBgCapnXTBQBoSinout5VVCnVDr/44B/OZH0xs6KMThCfR3LRs+aTycjvbwfCmawvduZkn7EwN4TBfheY90fXN6uYuffdyGQRu3apkmyDmzM2K8pYmBvC6kcLK+/KMEsWLCIQMSyLULUIFhH0HsGNycNYnDuO6PRno9lQSsFVh+tDQSEY6MHymzJKFQILgxkgYhALmBnMDLNsIf1sA8cG3VDYYzhFAWWfRBjCAiIbIxYQE1ga17+2GSICKLQYznCtiATEDK6BIrU5MUhgd0+NH+AIt+5jshdqgkpVwEwNkBgs9lyE4XY3nnLMWNf13QEAG1uE2JVe9PUC5JCvCMPrVpifOor1YnW34/pw7NjvVbmZ+3ljcTaMq5EjbRFJ07Gw8QfTd9fg96rc3o7bMh4f9SytvDenLl7/ZADAl5cjWF7dwmy60PaSeiPjo56lv2Ycnzi0Fp9AEgAu39x8+urtT9x5/GP74a2++LlTuumo76kDd4W9ALj9qIDIiOfBhdO+jtB9O279TFcuet77fD7Wn+sU7ajj1+kTSccb/wv/aymloEKh0Fg4HPZ2E87n86Udvs4FoWqwSHUAAAAASUVORK5CYII=" style="position: absolute; visibility: hidden; z-index: 2147483647; left: 1042px; top: 77px;" id="kosa-target-image">

Hello,

We have two internal mail servers, with different local users set up on each. The primary server (as far as MX priority) is Mercury, with a few hundred local users. The secondary server (a Zimbra server) also has unique local users. We have configured the Zimbra server to route non-local users to the Mercury server but don't know how to do the same on Mercury. i.e. a message comes into Mercury; the users doesn't exist on that server but does on Zimbra; how to tell Mercury to pass the message (relay?) to Zimbra. Also, is there a potential for a loop here if the users doesn't exist on either server. Both servers are in the same domain.

Thanks

 

<p>Hello,</p><p>We have two internal mail servers, with different local users set up on each. The primary server (as far as MX priority) is Mercury, with a few hundred local users. The secondary server (a Zimbra server) also has unique local users. We have configured the Zimbra server to route non-local users to the Mercury server but don't know how to do the same on Mercury. i.e. a message comes into Mercury; the users doesn't exist on that server but does on Zimbra; how to tell Mercury to pass the message (relay?) to Zimbra. Also, is there a potential for a loop here if the users doesn't exist on either server. Both servers are in the same domain. </p><p>Thanks </p><p> </p>

[quote user="viking956"]

Hello,

We have two internal mail servers, with different local users set up on each.

Major problem, two mail server serving the same domain with different users.  The real solution here is to provide both servers with their own domain.  Use one as the gateway server that receives all mail for the domain and forwards the mail to the other.  The other server would never receive mail for the domain directly.

The primary server (as far as MX priority) is Mercury, with a few hundred local users. The secondary server (a Zimbra server) also has unique local users. We have configured the Zimbra server to route non-local users to the Mercury server but don't know how to do the same on Mercury. i.e. a message comes into Mercury; the users doesn't exist on that server but does on Zimbra; how to tell Mercury to pass the message (relay?) to Zimbra. Also, is there a potential for a loop here if the users doesn't exist on either server. Both servers are in the same domain.

Since Zimbra is forwarding all mail for non-local user to Mercury

though there are going to be problems.   Zimbra will be receiving

and forwarding mail that is going the be rejected by Mercury (Reject mail for non-local users) or even

worse forwarded off to the internet and you now have a open relay for

the spammers.  This needs to be fixed on the Zimbra side to only forward mail for known users of the other system.

There are a couple of way to get Mercury to forward the mail for non-local users off to the other server.  Since the domain is going to be identical on both systems you need to setup an alias for all users on the Zimbra system. 

1.  The first method would convert the user@domain.com to user@[<ip address>] so that Mercury/32 will forward the mail to the other host using literal addressing.  This assumes that Zimbra can use literal addressing.

2.  The second method would be to alias the user to a local account Zimbra and then have the Zimbra server pull the mail using POP3 form this account.

3.  The third method would alias as in step 2 but use WSMTPEx for forward the mail.  This also assumes Zimbra can use literal addressing.

None of these methods would solve the problem where there is a user with the same name on both systems.[/quote]

&lt;blockquote&gt;[quote user=&quot;viking956&quot;]&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;We have two internal mail servers, with different local users set up on each. &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Major problem, two mail server serving the same domain with different users.&amp;nbsp; The real solution here is to provide both servers with their own domain.&amp;nbsp; Use one as the gateway server that receives all mail for the domain and forwards the mail to the other.&amp;nbsp; The other server would never receive mail for the domain directly. &lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;The primary server (as far as MX priority) is Mercury, with a few hundred local users. The secondary server (a Zimbra server) also has unique local users. We have configured the Zimbra server to route non-local users to the Mercury server but don&#039;t know how to do the same on Mercury. i.e. a message comes into Mercury; the users doesn&#039;t exist on that server but does on Zimbra; how to tell Mercury to pass the message (relay?) to Zimbra. Also, is there a potential for a loop here if the users doesn&#039;t exist on either server. Both servers are in the same domain.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Since Zimbra is forwarding all mail for non-local user to Mercury though there are going to be problems.&amp;nbsp;&amp;nbsp; Zimbra will be receiving and forwarding mail that is going the be rejected by Mercury (Reject mail for non-local users) or even worse forwarded off to the internet and you now have a open relay for the spammers.&amp;nbsp; This needs to be fixed on the Zimbra side to only forward mail for known users of the other system. &lt;/p&gt;&lt;p&gt;There are a couple of way to get Mercury to forward the mail for non-local users off to the other server.&amp;nbsp; Since the domain is going to be identical on both systems you need to setup an alias for all users on the Zimbra system.&amp;nbsp; &lt;/p&gt;&lt;p&gt;1.&amp;nbsp; The first method would convert the user@domain.com to user@[&amp;lt;ip address&amp;gt;] so that Mercury/32 will forward the mail to the other host using literal addressing.&amp;nbsp; This assumes that Zimbra can use literal addressing. &lt;/p&gt;&lt;p&gt;2.&amp;nbsp; The second method would be to alias the user to a local account Zimbra and then have the Zimbra server pull the mail using POP3 form this account.&lt;/p&gt;&lt;p&gt;3.&amp;nbsp; The third method would alias as in step 2 but use WSMTPEx for forward the mail.&amp;nbsp; This also assumes Zimbra can use literal addressing. &lt;/p&gt;&lt;p&gt;None of these methods would solve the problem where there is a user with the same name on both systems.[/quote]&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