OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Send mail thru a certaing interface

From: Arthur Titeica (arthurpsw.ro)
Date: Thu Aug 05 2010 - 14:30:37 CDT


Hello.

I'm trying to "convince" Postfix to send mail only thru a specific
interface/IP address (only one would be nice, many but not all would be
better).

    - inet_interfaces isn't suited for the job as it seems to be for
"The network interface addresses that this mail system receives mail
on" [1]

    - I've tried setting in master.cf something like:

192.168.1.110:smtp inet n - - - 30
smtpd

but that doesn't do it either (it seems it's for the receiving part
too).

At the same I'd need to have postfix smtp listen on all interfaces.

Any other ideas please?

[1] http://www.postfix.org/postconf.5.html#inet_interfaces

--
Arthur Titeica