On 7/2/2019 2:36 PM, Dennis Putnam wrote:
Hi Wietse,

Thanks for the reply. The problem is not with the VM connection
(actually there is no VM active at this point) but rather with the VPN
tunnel (tun0). I don't understand why the routing table would cause
postfix to use virb0, rather than tun0 or enp0s25, but not other
internet apps (i.e. browser is not using virb0). Something is different
with postfix/SMTP.


Postfix does not have a method of selecting an interface - that's provided by the kernel.

Postfix does allow you to specify an IP address, which may help the kernel select the interface you want.

See the docs for inet_interfaces and smtp_bind_address.
http://www.postfix.org/postconf.5.html#inet_interfaces
http://www.postfix.org/postconf.5.html#smtp_bind_address




  -- Noel Jones

Reply via email to