[exim] This should be simple but ...

Top Page
Delete this message
Reply to this message
Author: Marc Perkel
Date:  
To: exim-users
Subject: [exim] This should be simple but ...
... for some reason it's not working. Just trying to make a simple black
lists of senders domains and block them. The senders domains are in a
text file.

domainlist sender_domains_blocked = /etc/exim/acllists/domainsblocked.txt

drop    message = REJECTED - Sender Domain ($sender_address_domain) in 
DOMAIN BLOCK LIST
        condition = ${if 
match_domain{$sender_address}{+sender_domains_blocked}{true}{false}}


What am I doing wrong?

--
Marc Perkel - marc@???

Spam Filter: http://www.junkemailfilter.com
    My Blog: http://marc.perkel.com