On 2012-02-10 13:38, Muhammad Irfan wrote:
> We are using Exim MTA on dedicated server hosted on US data center with
> CENTOS 5.
> Our users are in two regions in US and China.
[...]
> Because china users have to connect to
> US DC SMTP server and because of slow connectivity issues users suffers
> alot.
Put an SMTP service on your system in China for the local users there
to use to send outbound. Tell them the name (or IP) of the system to use.
Have them use AUTH, and have a local
copy of your user database there to verify the AUTH.
The system they use to send outbound via need have no connection
with the domain name of their account.
> Also we don't want to switch china user mailboxes to China we need to keep
> all user mailboxes to primary MTA.
Not sure why not, but it's a separable issue from the outbound.
> Through this we will foresee email sending will speedup atleast.
The users should see better response - but there will still be delays
in getting the mails delivered from that system to wherever they're going.
>
> Also I need to know how to do it to receive emails ?
Have your user-database know where each user wants their mail (US or China).
Look that up in the routers, and deliver to file (if on the correct machine already)
or by smtp to the alternate machine.
Tell your users what name (or IP) of system to use for retrieving their mail.
Run IMAP services on both your systems. POP also, if you must, and a webmail
if you wish.
Both systems need to accept mail for your domain. It's probably simplest
to keep your US system named in DNS as the primary MX for your domain
--
Jeremy