| |||||||||||||||||||||||||||||||
|
We're using transport from a backup MX server to send email to the primary MX via transport. Recently the primary location encountered a significant outage that left it without reliable internet connection for over a week (that it on the main lines -- 5 T1's all through different providers all through one line carrier). Luckily we were able to get one line back up and finally route some mail. What we would like to do is keep the backup MX server using the transport table and if that transport if offline to use a secondary IP as a backup. In theory we could setup the slower line at the primary location as a backup MX as well but we really don't want the excess traffic unless we really need it, so basically it will be running an unadvertised SMTP service. Is there a simple way to do this in postfix. I looked at fallback_transport and configured our test domain for this but when I stopped traffic from the backup to the primary (via an iptables drop rule for all traffic to mx1.domain.tld) it didn't fail over to the fallback. Here is what I have in main.cf transport_maps = hash:/etc/postfix/transport fallback_transport = hash:/etc/postfix/transport-fallback /etc/postfix/transport domain.tld smtp:[mx1.domain.tld]:25 /etc/postfix/transport domain.tld smtp:[an_ip_address]:25 Any help would be greatly appreciated. Gary Wayne Smith
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com