Re: [Exim] Check reverse DNS on senders with exceptions

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Philip Hazel
Data:  
Para: Paul Makepeace
CC: exim-users
Assunto: Re: [Exim] Check reverse DNS on senders with exceptions
On Thu, 17 Jan 2002, Paul Makepeace wrote:

> Is it possible to refuse recipients for sites that don't have reverse
> DNS configured, except when the mail contains addresses in
> particular domains?


This can easily be done in Exim 4. You can use a "dnsdb" lookup to do
the reverse lookup, and a "condition" condition in the ACL to do the
rejection. Something like

  deny  domains    = !some.exceptions
        condition  = ${lookup dnsdb{ptr=$sender_host_address}{no}{yes}}


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.