[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: qmail best installation



Hi,

I have added two servers mx records like..

mail.mydomain.com with mx priority as 10 which is in one location.
mx01.mydomain.com with same priority which is in other location.

If any user sends email to praveen@xxxxxxxxxxxx it will first check in the
first server and if the inbox is not there then it will go to the second
mx record.

But i doubt does it works?. if it works how can i keep syncing my users on
each server to make sure that the users are unique.? How can i complete
this task?. what's the best way to have multiple servers to make sure all
my clients have quick access and the domain name should be single.?

I hope someone should have already deployed this. but i m missing
something to do.

any help is greatly appreciated.

-Thanks,
praveen
> On Mon, 1 Nov 2004 11:38:18 -0500, Payal Rathod
> <payal-dated-041111-cfa@xxxxxxxxxxxxxxxxx> wrote:
>> Is this the way big installations are done?
> We run a big installation at sify.com. We run multiple servers (each
> having their own individual storage). No NFS. (I think qmail-ldap also
> does the
> same thing as we do, except that we store the user database in MySQL
> instead of LDAP). I think all big setups would be doing something
> custom like us.
>
> On the servers serving as MX qmail-remote has been modified to look
> at an environment variable SMTPROUTES (if set) instead of the control
> file /var/qmaill/control/smtproutes.
>
> When a mail is to be delivered to a user e.g. recipient@xxxxxxxx who
> lies on IP address x.x.x.x, qmail-rspawn has been modified to connect
> to MySQL database to pick the server IP address and set the SMTPROUTES
> variable something like this
> sify.com:x.x.x.x:25 where x.x.x.x is the IP address of the server on which
> the user recipient1@xxxxxxxx lies. The MX are on servers located in
> cities where we
> peer internationally and with (costly) bandwidth having STM1 capacity.
> The mails are then delivered from these cities to the city where the
> mailstore lie using (cheap) domestic bandwidth.
>
> When we run out of server capacity, we add another server and start
> adding new users
> to the new server. The signup page for sify.com takes care of adding
> the users to
> the MySQL database with the IP address of the server.
>
> --
> You can drive a horse to water, but your MTA should be qmail
>    -- Manvendra
>