[ILUG] {LONG} sendmail smart host (fallback MX)
Dave Wilson
dave.wilson at heanet.ie
Tue May 14 10:23:49 IST 2002
> 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
More information about the ILUG
mailing list