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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: Paul Makepeace
CC: exim-users
題目: 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.