OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: can't get smtp_fallback_relay to work

From: Wietse Venema (wietseporcupine.org)
Date: Fri Jun 05 2009 - 08:58:17 CDT


Ralf Hildebrandt:
> * Wietse Venema <wietseporcupine.org>:
> > Ralf Hildebrandt:
> > > Jun 5 15:35:18 hanni postfix-ram/smtp[24385]: warning: smtp_fallback_relay configuration problem
> > > smtp_fallback_relay = [194.126.158.237]
> >
> > I don't think you can set smtp_fallback_relay to the local SMTP port.
>
> Grmbl. Neither 127.0.0.1 nor 194.126.158.237 work. Does that mean I
> must use
>
> inet_interfaces = localhost
> in one instance and
> inet_interfaces = 194.126.158.237
> on the other?

The Postfix SMTP client will never send mail to the SMTP port on
any IP address that is listed in $inet_interfaces. This is part of
the basic loop elimination algorithm that also keeps Postfix from
sending mail to equal-preference MX hosts.

Either play games in main.cf:inet_interfaces or with master.cf,
or use a non-default SMTP port.

        Wietse