On Mon, Sep 10, 2012 at 12:25:26PM -0400, Charles Marcus wrote: > Am I correct that if I want to use a relayhost under normal > circumstances, but send direct if there is a problem with the > relayhost, all I'd have to do is: > > relayhost = [host.example.com] > smtp_fallback_relay = > > ?
Default for smtp_fallback_relay is $fallback_relay (default: empty). So unseting smtp_fallback_relay would do nothing. > Or would it be > > smtp_fallback_relay = smtp: postconf.5.html#smtp_fallback_relay "The fallback relays must be SMTP destinations. Specify a domain, host, host:port, [host]:port, [address] or [address]:port; the form [host] turns off MX lookups. If you specify multiple SMTP destinations, Postfix will try them in the specified order." A transport(5) is not part of the specification. The only way I can think of to accomplish what you want is to use another instance as smtp_fallback_relay, and that instance have no relayhost set. There may be other ways. -- http://rob0.nodns4.us/ -- system administration and consulting Offlist GMX mail is seen only if "/dev/rob0" is in the Subject: