|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Brett Walker (lapomme00
gmail.com)
Date: Fri Oct 05 2007 - 08:20:08 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 10/5/07, Wietse Venema <wietse
porcupine.org> wrote:
> Brett Walker:
> > 1.2.3.4:submission inet n - - - - smtpd
> > -o inet_interfaces=1.2.3.4
> > -o smtp_bind_address=1.2.3.4
>
> Excuse me, where does the documentation state that you can
> smtp CLIENT options on the smtp SERVER process?
>
I got it from
http://www.postfix.org/postconf.5.html
which indicates you can use it in the master.cf file. The example is
for "smtp", but I think it would apply to "submission" as well. I
also read (somewhere, I can't find it right now) that you can specify
inet_interfaces in master.cf as well.
smtp_bind_address (default: empty)
An optional numerical network address that the Postfix SMTP client
should bind to when making an IPv4 connection.
This can be specified in the main.cf file for all SMTP clients, or it
can be specified in the master.cf file for a specific client, for
example:
/etc/postfix/master.cf:
smtp ... smtp -o smtp_bind_address=11.22.33.44
Note 1: when inet_interfaces specifies no more than one IPv4 address,
and that address is a non-loopback address, it is automatically used
as the smtp_bind_address. This supports virtual IP hosting, but can be
a problem on multi-homed firewalls. See the inet_interfaces
documentation for more detail.
Note 2: address information may be enclosed inside [], but this form
is not required here.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]