[exim] help with condition match

Top Page
Delete this message
Reply to this message
Author: Jim Pazarena
Date:  
To: exim-users
Subject: [exim] help with condition match
I created the following:

deny    message         = We don't want your spam! Go away!
         log_message     = blacklisted at ~pool-ukrtel.net reject
         condition       =                                       \
           ${if                                                  \
            {match{${lc:$sender_host_name}}{.pool.ukrtel.net}}   \
            {true}{false}}


and it fails with the following log line:

2012-06-06 22:15:16 H=89-147-34-207.qcislands.net (wwwb.qcislands.net) [207.34.147.89] 
F=<webmaster@???> temporarily rejected RCPT <admin@???>: failed to expand ACL 
string "${if                                        {
match{${lc:$sender_host_name}}{.pool.ukrtel.net}}       {true}{false}}": condition name expected, 
but found "{match{${lc:$sen"


I am slightly confused, and suggestions would be most appreciated.
-- 
Jim Pazarena                    work:250 559-7777
Box 550 - 405 2nd Avenue        fax: 866 279-3608
Queen Charlotte  BC  V0T 1S0    mailto:jim@paz.bz