Re: [Exim] Lists supported

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Ron McKeating
Date:  
À: Exim-Users (E-mail)
CC: Alan J. Flavell
Sujet: Re: [Exim] Lists supported
On Fri, 2003-05-30 at 11:31, Philip Hazel wrote:
> On Thu, 29 May 2003, Alan J. Flavell wrote:
>
> > Would it be possible to have an ACL entry with two dnslists clauses in
> > it? - like
> >
> >   deny dnslists = ! rbl-plus.mail-abuse.ja.net=127.1.0.2
> >        dnslists = rbl-plus.mail-abuse.ja.net

>
> I think the answer has probably already been posted, but, for the
> record:
>
> You can always repeat any condition in an ACL. They are processed in
> order, and this provides an "and" facility. Thus:
>
>   deny dnslists = a.b.c
>        dnslists = d.e.f

>
> means "deny if in the a.b.c list AND in the d.e.f list".
>
> You can also have multiple ACL verbs, and this provides an "or" facilty.
> Thus:
>
> deny dnslists = a.b.c
> deny dnslists = d.e.f
>
> means "deny if in the a.b.c list OR in the d.e.f list".
>
> Of course, in this case, you can also get the OR feature by multiple
> entries:
>
> deny dnslists = a.b.c : d.e.f
>
> but you can't do that when the two conditions are not the same or don't
> take a list. For example:
>
>   deny dnslists = a.b.c
>        hosts = x.y.z

>
> compared to
>
> deny dnslists = a.b.c
> deny hosts = x.y.z
>
> The first is an "AND" and the second is an "OR".


So would the following work

warn    message       = X-Warning: $sender_host_address is in a
blocklist at $dnslist_domain
         log_message   = found in $dnslist_domain
         dnslists      =
rbl-plus.mail-abuse.ja.net:list.dsbl.org:sbl.spamhaus.org:relays.ordb.org
        !dnslists       = rbl-plus.mail-abuse.ja.net=127.1.0.2



So for the ja.net list it will get the warning message only if it is 1
of the others besides DUL and will be let through only if it in the DUL
an not other ja.net list ?

Ron



--
Ron McKeating
Senior IT Services Specialist
Internet Services and Software Solutions
Loughborough University
01509 222329