Re: [Exim] Whitelisting RBL positives

Top Page
Delete this message
Reply to this message
Author: Jerry Jorgenson
Date:  
To: exim-users
Subject: Re: [Exim] Whitelisting RBL positives
On 20 Jul 2003 13:15:56 +0100
"Adam D. Barratt" <exim-users@???> wrote:

> On Sun, 2003-07-20 at 13:00, Jerry Jorgenson wrote:
> > [...]
> > #[ acl section ]
> > acl_check_rcpt:
> > [...]
> >   deny    dnslists      = relays.ordb.org : sbl.spamhaus.org
> >   deny    message       = rejected because $sender_host_address is in
> >   a
> > black list at $dnslist_domain\n$dnslist_text
> >   log_message           = found in RBL $dnslist_domain

>
> Every "deny", "accept", etc., starts a *new* ACL entry. So, the above is
> actually two entries:
> 1) deny if in dnslists
> 2) deny *with* *no* *condition* (i.e. deny *all*)
>
> It should all be one entry:
>   deny    dnslists    =
>           message     =
>           log_message =

>
> hth
>
> Adam


Thanks, Adam. That was it. I knew it must be something dumb like that, so
now the acl reads

deny dnslists    = ! /etc/mail/allow_access_list : relays.ordb.org ...
     message     = rejected because $sender_host_address ...
     log_message = found in RBL $dnslist_domain


And it works perfectly. Thanks so much.

Jerry

--
Jerry Jorgenson
jerry@???
http://www.j3iss.com/