On Wed, Mar 31, 2010 at 01:28:22PM -0400, Jon Giles wrote:
> Thanks again for the suggestions. Having removed fallback_relay has
> stopped the loops, but I am still challenged in setting up the failover to
> the second relayhost.
>
> Unless there is something I am missing, using a local DNS server to create
> the failover isn't an option for me. I can't use A records to point to the
> relayhosts because the Ips might change over time without my knowledge.
That's why you would use MX records:
localhost zone on MTA DNS server:
xyzzy.localhost. IN MX 0 primarymx.example.net.
xyzzy.localhost. IN MX 10 secondarymx.example.net.
main.cf:
relayhost = xyzzy.localhost
--
Viktor.
P.S. Morgan Stanley is looking for a New York City based, Senior Unix
system/email administrator to architect and sustain our perimeter email
environment. If you are interested, please drop me a note.