Re: [exim] blocking on failure of reverse_host_lookup

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Joan
Date:  
À: Ian P. Christian
CC: exim users
Sujet: Re: [exim] blocking on failure of reverse_host_lookup
2009/7/2 Ian P. Christian <pookey@???>:
> 2009/7/2 Ian P. Christian <pookey@???>:
>> Hi all,
>>
>> I though I'd seen people post on the list about blocking outright on
>> reverse_host_lookup - however having implemented this yesterday, it
>> seems like it quite possibly did block the occasional email.  Before
>> yesterday, it was just used as part of a scoring system.
>
> Whislt on the topic... how can I check that a host has a reverse
> record, without doing the full forward checking that
> reverse_host_lookup does?  I can at least block outright hosts that
> don't have a reverse...
>

Quoting from: http://www.gossamer-threads.com/lists/exim/users/83353

If you want to only check whether reverse DNS exists at all, with no
regard to the subsequent forward-DNS check, you can use something along
the lines of this:

defer
!condition = ${lookup dnsdb{defer_never,ptr=$sender_host_address}{yes}}
log_message = REVERSE DNS: no PTR found for $sender_host_address
message = Sender's ISP has no reverse DNS for $sender_host_address.


> --
> Blog: http://pookey.co.uk/blog
> Follow me on twitter: http://twitter.com/ipchristian
>
> --
> ## List details at http://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/
>