On 08/06/2010 01:00 AM, Arthur Titeica wrote:
> 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
>
>
use smtp_bind_address in either main.cf or master.cf
http://www.postfix.org/postconf.5.html#smtp_bind_address