Re: [Exim] Basic ACL error

Top Page
Delete this message
Reply to this message
Author: Andreas Metzler
Date:  
To: exim-users
Subject: Re: [Exim] Basic ACL error
On Mon, Aug 02, 2004 at 02:48:14PM +0100, Mike Zanker wrote:
> I'm trying to set up an ACL that will reject HELO/EHLOs from servers
> whose IP addresses have no PTR record. The following seems to work:
>
> deny condition = ${lookup dnsdb{ptr=$sender_host_address}{no}{yes}}
>     message   = no hostname found for $sender_host_address

>
> However, if I want to exclude certain domains by doing this:
>
> deny domains   = !exim.org
>     condition = ${lookup dnsdb{ptr=$sender_host_address}{no}{yes}}
>     message   = no hostname found for $sender_host_address

>
> I get a "cannot test domains condition in EHLO or HELO ACL" error
> logged.

[...]

domains =....
matches against rcpt to.
               cu andreas