Re: [exim] acl + conditions

Top Page
Delete this message
Reply to this message
Author: Giuliano Gavazzi
Date:  
To: Malte Geierhos, Lista Exim
Subject: Re: [exim] acl + conditions
At 1:25 +0100 2003/03/17, Malte Geierhos wrote:
>hi again,
>
>i want to implement user - definable black / whitelists
>hm i looked around and found that i can use acl.
>But perhaps my brains are frosted and i should use a router...
>however, it doesn't work as expected, but mostly because the acl's i've
>written are never reached as i saw in debug output, hm before i try to
>configure an impossible thing, i'd like to ask you if i'm right...
>sorry for the mailbox bloating..:-)

[...]
>   accept  domains       = +local_domains
>           endpass
>           message       = unknown user
>           verify        = recipient
>   accept  domains       = +relay_to_domains
>           endpass
>           message       = unrouteable address
>           verify        = recipient


how can the following deny work if the message has been already
accepted by the local and relay accept conditions above? Swap the
order.

>   deny    message       = rejected because $sender_host_address is in a
>black list at $dnslist_domain\n$dnslist_text
>           dnslists      = relays.ordb.org : sbl.spamhaus.org

>
>   #Blacklisting Senders and Sender Domains or Sender Hosts...based on
>our users demand...
>   deny      sender_domains= +blacklist_domains
>        condition    = ${if eq {}{${lookup mysql {select block from users
>where address='${quote_mysql:${local_part}@${domain}}' and
>block='blacklist' }}}{no}{yes}}

[...]

Giuliano

--
H U M P H
    || |||
  software


Java & C++ Server/Client/Human Interface applications on MacOS - MacOS X
http://www.humph.com/