Wietse Venema:
> [email protected]:
> > Just to clarify my understanding:
> >
> > On a server with two network interfaces, the first interface has one public
> > IP, the seconds interface has one private (192.168.x.x) IP.
> >
> > inet_interfaces = all
> > inet_protocols = all
> > #smtp_bind_address =
> > #smtp_bind_address6 =
> >
> > With the following configuration it binds as such
> >
> > tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 21067/master
> > tcp6 0 0 :::25 :::* LISTEN 21067/master
> >
> > The docs say
> >
> > 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
>
> That text was written before IPv6 wsupport was added. There should be similar
> text for IPv6.
As you can see above, with "inet_interfaces = all" Postfix will
LISTEN on all available IPv4 (or IPv6) interface addresses, and it
will NOT BIND to a specific IPv4 (or IPv6) address.
Wietse