How do I setup a secondary incoming mail server?
Posted
by
abrahamvegh
on Server Fault
See other posts from Server Fault
or by abrahamvegh
Published on 2011-11-29T20:24:46Z
Indexed on
2011/11/30
1:55 UTC
Read the original article
Hit count: 206
I currently have a server running Debian 6, with postfix
and dovecot
handling email. This server hosts email for a number of domains and users, so I use MySQL as my backing store for users and forwardings and everything related.
Currently, this server is the only server listed in an MX
record for all of the domains it serves. I would like to create a secondary server that would be listed in the DNS with a lower priority (e.g. current primary server is priority 5, secondary would be priority 10), so that in the event that I need to reboot the primary server, or otherwise make it unavailable, the secondary server would receive email, and hold it until the primary server came back up, at which point it would deliver any held email to the primary server.
I do not need the secondary server to function as a backup sending server. Users would never need to see the secondary server, they would simply not lose incoming emails if the primary server is down, and they would be unable to send or receive until the primary came back up.
How would I go about doing this? I would like to use the same software if they can handle this task, because I’m already familiar with managing them.
© Server Fault or respective owner