On 2016-12-21, Robert Popelka <[email protected]> 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 -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
