> Currently I have defined a "smart host" in my sendmail.mc file as:
>> define(`SMART_HOST',`smtp:mail.iol.ie')dnl
>> I would like to use this smart host, but only after attempting a direct
> delivery.
> i.e. I'd like my sendmail to try to deliver to the destination domain, and
> if that fails, then send it to the smart host ?
Sorry to reply separately, but I've just found
O FallbackMXHost
If the SMTP connection to the target host fails, this option specifies
the host to which mail should be forwarded, instead of being queued
locally for later delivery. This only counts if the connection fails,
not if there is a name lookup failure.
Page 709 of the Bat book.
HTH,
Dave
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!