[exim] ACL not working. what am I doing wrong

Top Page
Delete this message
Reply to this message
Author: isolderj
Date:  
To: exim-users
Subject: [exim] ACL not working. what am I doing wrong

I have a mysql lookup that ends up with.

lookup yielded: N

this is saved to variable JUNKMAIL_SETTING.

Now I would like to use the folowing in an acl.

accept
                condition = ${if eq{$JUNKMAIL_SETTING}{N}}
                log_message = This user has Junkmail settings disabled and will not be spam scanned
 endpass


this Does not seem to work. What and I doing wrong?




_________________________________________________________________
Windows Live™: Life without walls.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009