Re: [Exim] Lists supported

Startseite
Nachricht löschen
Nachricht beantworten
Autor: William Thompson
Datum:  
To: Ron McKeating
CC: Exim-Users (E-mail), Alan J. Flavell
Betreff: Re: [Exim] Lists supported
> 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


Suppose the host is listed at relays.ordb.org, this is true, so we go to the
next condition.

>         !dnslists       = rbl-plus.mail-abuse.ja.net=127.1.0.2


This same host is also listed at rbl-plus.mail-abuse.ja.net as 127.1.0.2.
Well, this condition is false and thus the warn statement is false (all have
to be true before the verb takes place).

If you wanted to warn if the host is listed elsewhere, you'd have to
seperate the statements.

Switching these probably wouldn't work since acls are processed if the
previous condition was true.