[exim] Which interface is used at remote_smtp transport?

Inizio della pagina
Delete this message
Reply to this message
Autore: Marten Lehmann
Data:  
To: exim-users
Oggetto: [exim] Which interface is used at remote_smtp transport?
Hello,

I wonder why Exim is using arbitrary interfaces so send mail from.

Our remote_smtp transport on our webservers is pretty simple:

remote_smtp:
    drive = smtp


I know that it is possible to specify an interface address, but we don't
want to do this, because the configuration shall be identical on all
webservers.

So far either Exim sent from the first interface (eth0), or in case of
SSL-hosts from the IP address where the incoming https-connection went to.

But recently we noticed, that a lot of email is sent by arbitrary
interfaces. Does exim rely on the operating system or does it decide on
its own which interface to choose? The problem is, that not all
additional interfaces have valid reverse-dns records and even if they
had, sometimes mails what have been sent with a wrong sender specifying
a reverse-dns record, that has nothing to do with the actual user.

Kind regards
Marten