Re: [exim] Detect missing reverse dns

Top Page
Delete this message
Reply to this message
Author: MarkdV
Date:  
To: Exim Mailing List
Subject: Re: [exim] Detect missing reverse dns
MarkdV wrote:
> I'm thinking of trying something like this in acl_smtp_mail:
>
>   defer
>   ! sender        = :
>   ! dnslists      = list.dnswl.org
>   ! verify        = reverse_host_lookup
>   ! verify        = helo
>     ratelimit     = X_DNS_HELO_LIMIT / per_mail / leaky / 
> $sender_host_address
>     message       = Ratelimited. Fix your (r)DNS and/or HELO for faster 
> deliveries.


Posted that right before going to bed last night, and one of the first
spontaneous conscious thoughts I had while under the shower this morning
was that I'd made a mistake. The thought really came out of nowhere. How
does that happen? The mind works in mysterious ways...

What it was supposed to do is !verify=reverse_host_lookup OR
!verify=helo, not AND which is what the above snippet does. Should
probably split it into two checks, or put it in a seperate acl and used
with "acl= ".