Re: [exim] Exim Relay Emails to optimize email send / reciev…

Top Page
Delete this message
Reply to this message
Author: Muhammad Irfan
Date:  
To: exim-users
Subject: Re: [exim] Exim Relay Emails to optimize email send / recieve mechanism.
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.


OK, so i will install exim on china DC machine and will inform china users
to use china mail IP address to send email. But how to use AUTH ? How to
configure AUTH ? Also for local copy of user database means should i need
to create mail boxes for china users locally also ? Is there any howto
document available for that ?



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.



The only reason that i don't want to separate user mailboxes locally i.e.
china user mailboxes on china exim server and US user mailboxes to primary
MTA is i don't want to use different domains i.e. all users emails on same
domain regardless of china or US. e.g. china@??? and usa@???


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.


Need to check US mail server router section ? Infact i am not sure how to
implement this how to deliver to file.


>> 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.


I will inform china users to change POP settings in email client and use
china mail server IP but how it works if mailboxes resides on Primary mail
server on US ?


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



I thought i mixed up entirely. It would be great help if you identify all
suggestions in steps and in sequence to improve send / receive emails from
china where users having mainly face problems when sending emails via
attachments.

Thanks in advance for your help in this regard.