Postix transport smtp failover

Posted by SimonJGreen on Server Fault See other posts from Server Fault or by SimonJGreen
Published on 2012-11-14T09:59:27Z Indexed on 2012/11/14 11:05 UTC
Read the original article Hit count: 240

Filed under:
|

We have a multi-tenant email relay set up that has a transport map file that looks like this:

domain1.com       smtp:mail.domain1.com
domain2.com       smtp:mail.domain2.com
domain3.com       smtp:mail.domain3.com
[etc]

In the event mail.domain1.com is down, email for domain1.com will be held by the postfix server until mail.domain1.com starts responding again. However we have a customer who has a backup DSL line on their site, an their email server is also available over this. How can I tell the transport to failover to a different host if the first is unavailable?

© Server Fault or respective owner

Related posts about email

Related posts about postfix