ylmzlist at gmail
Sep 3, 2009, 3:47 AM
Hi all, I have a problem regarding the failover of a domain name in
smtproutes failover configuration
I have set up smtproutes file for a single domain name so that qmail will
ask DNS for MX records as I have read in qmail remote manual.
Here is the file smtproutes content
DNS server for this domain tesdomain.com returns two MX records as such:
mx 10 smtp1.relayserver.com
mx 20 smtp2.relayserver.com
I have sent a test message from qmail to e.g sample [at] testdomain and the
message is delivered to smtp1.relayserver.com as expected.
I have shut down smtp1.relayserver.com and sent the same message again and
after that Qmail sent the message to smtp2.relayserver.com as I expected.
However, when I bring the first server up and shut down the second server,
presumably qmail should try smtp1.relayserver.com again but it isn't what
Qmail insists on sending the message to the unavailable server again and
again although the first server is back again. I don't know what I actually
miss on this
configuration or does it work like this?
thanks for your help in advance.