[prev in list] [next in list] [prev in thread] [next in thread] 

List:       exim-users
Subject:    Re: [exim] $dnslist_domain
From:       Tony Finch <dot () dotat ! at>
Date:       2008-03-31 15:37:17
Message-ID: alpine.LSU.1.00.0803311634140.8138 () hermes-1 ! csi ! cam ! ac ! uk
[Download RAW message or body]

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@exim.org>   <dot@dotat.at>   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}}

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic