Re: [exim] identifying real hotmail servers

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Mike Cardwell
Dátum:  
Címzett: Exim Users List
Tárgy: Re: [exim] identifying real hotmail servers
Renaud Allard wrote:

> I do use this:
> deny
> message         = Faked $sender_address_domain.
> log_message     = Fake hotmail
> senders         = *@hotmail.com : *@msn.com
> condition       = ${if match {$sender_host_name}{\Nhotmail.com$\N}{no}{yes}}

>
> It is not 100% safe as many people could put a reverse DNS pointing to
> hotmail, but it is better than nothing.


It is 100% safe. $sender_host_name will only contain a value if the rdns
points back to the same IP. I could set up the rdns of my ip
91.186.24.33 to be foo.hotmail.com, but I couldn't create an A record
pointing foo.hotmail.com back to 91.186.24.33.

Mike