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

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Paul Makepeace
Cc: exim-users
Asunto: 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.