[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]
<blockquote>[quote user="viking956"]<p>Hello,</p><p>We have two internal mail servers, with different local users set up on each. </p></blockquote><p>Major problem, two mail server serving the same domain with different users.&nbsp; The real solution here is to provide both servers with their own domain.&nbsp; Use one as the gateway server that receives all mail for the domain and forwards the mail to the other.&nbsp; The other server would never receive mail for the domain directly.
</p><blockquote><p>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></blockquote><p>Since Zimbra is forwarding all mail for non-local user to Mercury
though there are going to be problems.&nbsp;&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.&nbsp; This needs to be fixed on the Zimbra side to only forward mail for known users of the other system.
</p><p>There are a couple of way to get Mercury to forward the mail for non-local users off to the other server.&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.&nbsp; </p><p>1.&nbsp; The first method would convert the user@domain.com to user@[&lt;ip address&gt;] so that Mercury/32 will forward the mail to the other host using literal addressing.&nbsp; This assumes that Zimbra can use literal addressing.
</p><p>2.&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.</p><p>3.&nbsp; The third method would alias as in step 2 but use WSMTPEx for forward the mail.&nbsp; This also assumes Zimbra can use literal addressing.
</p><p>None of these methods would solve the problem where there is a user with the same name on both systems.[/quote]</p>