On Sun, Apr 03, 2011 at 10:39:58PM -0700, email builder wrote:
> I'm wondering if it's possible to configure a smtpd process in 
> master.cf to send messages to the outside on a secondary network 
> interface.

Of course not; smtpd(8) is the SMTP daemon, the server. It receives 
mail; it does not send it. Sending is done by smtp(8), the SMTP 
client.

> It seems to be possible to make a smtpd process listen on a given 
> interface (IP address) by specifying the IP address on the front of 
> the configuration line like so (where "bbb.bbb.bbb.bbb" is an IP 
> address affixed to a secondary network interface):
> 
> bbb.bbb.bbb.bbb:smtps inet  n      -      n      -      -      smtpd

Right.

> But when sending mail, it still seems to go out on the machine's 
> primary network interface.

Also right as per above. OVERVIEW.html might be of interest.

> Help much appreciated.

See postconf.5.html#smtp_bind_address for the setting which controls 
smtp(8)'s selection of IP address. Google this mailing list for that, 
and you will find many examples.

See postconf.5.html#transport_maps (and transport.5.html for the 
syntax thereof) for the basic means to override default selections of 
outgoing mail transport.

In your example, you mentioned smtps, port 465. Be aware that Postfix 
has no native implementation of TLS "wrappermode" for the SMTP 
client. A workaround using stunnel(1) can be found in the 
TLS_README.html document.

HTML links will be found on www.postfix.org and in your own local 
html_directory copy.
-- 
    Offlist mail to this address is discarded unless
    "/dev/rob0" or "not-spam" is in Subject: header

Reply via email to