Auteur: Jasen Betts Date: À: exim-users Sujet: Re: [exim] exim outgoing interface by Received IP
On 2016-12-21, Robert Popelka <robert@???> wrote: > Hello,
>
> i got a mailserver with 2 IP address : *x* and *y* with different
> certifikate, and different rDNS. Standart system, if mail is received to
> ip *x* or *y* it goes out by ip *x*. But somme providers have some
> problems with it, because :
>
> Your reverse DNS does not match with your sending domain.
> Reverse DNS lookup or reverse DNS resolution (rDNS) is the determination
> of a domain name that is associated with a given IP address.
> Some companies such as AOL will reject any message sent from a server
> without rDNS, so you must ensure that you have one.You cannot associate
> more than one domain name with a single IP address.
techniically you can, but it doesn't work well with some rDNS checkers.
> Your IP address Y** is associated with the domain yyy.domain
> Nevertheless your message appears to be sent from xxx.domain
>
>
> and my question is, if its posible to use *y *for outgoing, if custommer
> uses *y* for sending mail, and use for outgoing IP *x* if he uses this one.
>
> I know that I can use list of domains.. but that's not my solution.
Yes, the interface option on the SMTP transport can use an expression
that checks $sender_domain etc...
but it might be simpler to fix the SPF records for the two domains
--
This email has not been checked by half-arsed antivirus software