On Mon, Aug 01, 2022 at 01:36:17PM -0400, post...@ptld.com wrote: > 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 =
Postfix sees two non-loopback interfaces, notions of "public IP" and "private IP" are not relevant. > 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 > > Is the second interface with the private IP being considered? See above. > With the above config is there a risk of postfix trying to use the > 192.168.x.x (or IPv6 equivalent) for outbound connections? Only if your routing table is messed up. > Should the bind addresses be specified when using a private network on > second interface? Generally no. -- Viktor.