Setting up an E-Mail server, I wonder, what if it goes down. Do I need a redundant setup in order to not lose incoming mails? Or would it suffice to make sure it doesn't go offline for longer than, say, a day?
Setting up an E-Mail server, I wonder, what if it goes down. Do I need a redundant setup in order to not lose incoming mails? Or would it suffice to make sure it doesn't go offline for longer than, say, a day?
The place to look for an official answer to this question is RFC 5321. Here is what RFC 5321 has to say:
So, if your server stays down for even three days, you shouldn't expect any mails to be lost, but they will of course get delayed.
A couple of advantages to having two MXs on different networks are:
When mail servers have to deliver emails to you(r mail server), they must maintain a queue for when your mail server is offline. From Wikipedia:
The Postfix documentation also provides some more information on this.
Thus, as long as your mail server doesn't stay down for too long, you wont lose any emails. That being said, a redundant setup is of course better so you receive the emails almost instantaneously and you can keep sending out emails as well.
Edit: Sending out emails can be done by a completely different server. Your question was only for receiving email so that server going down does not necessarily impact your capability to send emails.