Autor: Marc Sherman Data: Para: exim-users Asunto: Re: [exim] How to set the outgoing SMTP IP address
Jakob Hirsch wrote: >
> I presume you vhost setup is separated by domains, so you can use the
> sender domain to get the ip address:
>
> remote_smtp:
> driver = smtp
> interface = ${lookup {$sender_address_domain} your_lookup {...}}
>
> your_lookup depends on where you have stored the domain-to-ip mapping.
> You could also use the dnsdb lookup (which I personally don't like much,
> and AFAIR it's not compiled into Exim by default).
>
> Oh, and to prevent abuse, you should make sure that the sender domain
> matches the domain part of the authenticated user.
Don't forget to also set your helo_data to a name which resolves (and
reverse resolves) to the value you set interface to; as recently
discussed in the list archives, a couple of big players have recently
started blocking on HELO names not matching the incoming IP.