Is this behavior of inet_interfaces overridden by smtp_bind_address? From the way it's worded it looks to me like the inet_interfaces setting overrides smtp_bind_address but this isn't clear to me. Can that be clarified (one way or the other)?

Peter


On 4/05/23 04:48, Wietse Venema via Postfix-users wrote:
I updated the inet_interfaces documentation anmd clarified its
relationship with smtp_bind*_address and system-chosen source IP
addresses.

        Wietse

    When smtp_bind_address and/or smtp_bind_address6 are not specified, the
    inet_interfaces setting may constrain the source IP  address  for  out-
    bound  connections over IPv4 and/or IPv6. Support for IPv6 is available
    in Postfix version 2.2 and later.

    o      When inet_interfaces specifies one IPv4 address, and that is not
           a  loopback  address,  the  Postfix SMTP client uses that as the
           source address for outbound IPv4 connections.

    o      Otherwise, the Postfix SMTP client does not constrain the source
           IPv4  address,  and  connects  using a system-chosen source IPv4
           address. This includes the cases where inet_interfaces specifies
           all,  or no IPv4 address, or one IPv4 address that is a loopback
           address, or multiple IPv4 addresses.

    o      The same reasoning as above applies to IPv6.

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to