Florin Andrei: > Florin Andrei wrote: > > > > Is there a way to bind the listener to an interface using the interface > > name (eth5:smtp) instead of the IP (1.2.3.4:smtp)?
No. The bind(2) system call specifies an address. Not an interface, and not the route. Connections with source address of X are not necessarily sent out via interface X. The interface is chosen depending on the destination of the connection. Wietse