Create a mail server secondary MX

  • Posted June 26, 2014

Currently I have a server with email only 1 MX. Made through the tutorial:

But at times, there is a server unavailability and would not take a second to go through the trouble.

Some companies have several lodging MX records, and would like to have more 1. Placing or to follow tutorial?

Thank you.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Instead of creating a secondary server just to get the emails and hold them back until the primary, you can not create another email server that accesses the same database and the same directory as the primary? Then when the primary return will access the same information saved by the secondary server and vice versa with the secondary recovery and data recording? Today my email server already accesses the database on a separate server. Only miss access to separate files and web access.

Thank you.

Correct way is create basically a second mail server that relays mail to your first when down. See for postfix example. I would think you could find something similar with iredmail. Never used it so not sure.

If your mail server is down a correctly configured mail server will retry to send the message every X hours. (Think 4 hours is common) and then finally give up after X days. (5 days I think) Some mail servers may or may not respond to sender informing them mail can’t be sent.