On Mon, May 9, 2011 at 1:43 PM, Carlos Miranda Molina (Mstaaravin)
> I have one domain "mydomain.com" and i need split this between 3
> geographical places, differents users of course.
You can achieve this by writing a qmail-remote wrapper which gets
called in .qmail files. Search the qmail list for discussions on this.
This would be a simple solution but will require you to maintain
.qmail files for users to re-direct the mail to another host.
If you can digest something that is complicated, please look at
IndiMail - http://www.indimail.org which does exactly what you
require. IndiMail modifies qmail-rspawn to look for the location of
users in a MySQL table called hostcntrl. So you can split users for a
domain across multiple hosts. In fact one of the host can be MS
Exchange, one can be lotus notes, etc. Additionally, IndiMail provides
proxy for IMAP and POP3 so that users can transparently connect to any
host and yet see their mailbox. Most of the commands in IndiMail are
same as vpopmail (vadddomain, vadduser, vdeluser, vpasswd, etc) with
the difference that they work on users distributed across geographical
domains. IndiMail is a mix of ideas from qmail and vpopmail.