[Exim] Multiple senders statements in ACLs

Top Page
Delete this message
Reply to this message
Author: Sandip Bhattacharya
Date:  
To: exim-users
Subject: [Exim] Multiple senders statements in ACLs
Does multiple senders statements in an acl add up, or become an AND
condition?

Why isnt this working.


   deny senders = +banned_emails
       senders = ${if exists{/etc/exim/banned/$domain}\
                {lsearch*@;/etc/exim/banned/$domain}}


The first senders statement uses a global ban list, and the second a per
domain one.

banned_emails is defined thus:
addresslist banned_emails = dbm*@;/etc/exim/banned_emails.db

/etc/exim/banned/example.com:
    *@freesomethings.com


Mails to xyz@??? from abc@??? are still being
accepted.

Am I doing something wrong?

- Sandip

--
Sandip Bhattacharya
sandip (at) puroga.com
Puroga Technologies Pvt. Ltd.
Work: http://www.puroga.com        Home: http://www.sandipb.net


GPG: 51A4 6C57 4BC6 8C82 6A65 AE78 B1A1 2280 A129 0FF3