Yuan P Li writes:
It will be very useful to sync all the mailboxes on the
primary server
to a backup server ...
Sam> Have the primary send a backup copy of all incoming mail to the
secondary.
Do you mind giving us a pointer as how this is done exactly? Thanks.
Put a forwarding instruction into .courier
For all accounts? Or is there a central .courier that can catch
all incoming
mail?
DEFAULTDELIVERY in $sysconfdir/courierd sets the default delivery
instructions. However they are only used when $HOME/.courier
doesn't exist.
Yes. But what I am after is how to setup a backup mail server
with courier. When mail comes to the backup server, it simply
forward them to another host, without changing the TO: field.
If the main server is not available, just the hold the mail for
sometime. I think some email packages refer this to as a
host "static route".
Put the primary domain name in the esmtpacceptmailfor file on the backup
mail server, and remove it the backup server's locals file, and just make
sure that the backup mail server is designated as the backup MX for the
primary domain. If you want to set the backup server at the same MX
priority as the primary server, also add a static route to the esmtproutes
file, on the backup server.