Re: [exim] Exim says it finds host name, then says it failed…

Inizio della pagina
Delete this message
Reply to this message
Autore: Lena
Data:  
To: exim-users
Oggetto: Re: [exim] Exim says it finds host name, then says it failed to find host name and doesn't apply host-based deny rules.
> From: Kaz Kylheku <kaz@???>

> >>> looking up host name for 200.74.217.158
> >>> IP address lookup yielded mail.radarsystems.net
> >>> gethostbyname2 looked up these IP addresses:
> >>> name=radarsystems.net address=200.74.217.141
>
> Okay, the forward and reverse DNS doesn't match


> >>> check hosts = *.pwrz.at : *.ampledns.com : *.radarsystems.net
> >>> sender host name required, to match against *.pwrz.at
> >>> host in "*.pwrz.at : *.ampledns.com : *.radarsystems.net"? no (failed to find host name for 200.74.217.158)


> If there was a way to reject such hosts upfront, that would work.


require verify = reverse_host_lookup

or

require condition = ${if def:sender_host_name}

or

deny condition = ${if !def:sender_host_name}

That'll deny also hosts which don't resolve at all.

> What's a good way to write a deny rule like that?


I greylist such hosts.
http://lena.kiev.ua/Lena-eximconf-run.txt
http://wiki.exim.org/DbLessGreyListingRun