Re: [exim] $dnslist_domain

Top Pagina
Delete this message
Reply to this message
Auteur: Tony Finch
Datum:  
Aan: Randy Bush
CC: exim users
Onderwerp: Re: [exim] $dnslist_domain
On Mon, 31 Mar 2008, Randy Bush wrote:
>
>   # Reject messages from senders listed in these DNSBLs
>   # except for dnswl whitelust
>   drop    condition     = ${if isip4{$sender_host_address}}
>           logwrite      = REJECT because $sender_host_address listed in $dnslist_domain
>           message       = blocked because $sender_host_address is \
>                           in  blacklist at $dnslist_domain: $dnslist_text
>           !dnslists     = list.dnswl.org
>           dnslists      = dialups.mail-abuse.org \
>                         : blackholes.mail-abuse.org \
>                         : proxies.mail-abuse.org \
>                         : relays.mail-abuse.org \
>                         : qil.mail-abuse.com


logwrite is evaluated in the order that the acl is interpreted, so you
should put it at the end of a verbal clause if it depends on expansion
variables set during the clause. message is remembered when it is set and
expanded when the acl finishes, so it should usually be put at the start
of the clause. This trickiness is less than ideal.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}