[exim] ACL's still broken after upgrading to 4.66

Top Page
Delete this message
Reply to this message
Author: Juha Saarinen
Date:  
To: Exim Users
Subject: [exim] ACL's still broken after upgrading to 4.66
2007-01-11 13:25:21 1H4nkm-000Fpj-R2 H=mxaruba.aruba.it (mx1.aruba.it)
[62.149.128.10] F=<jacob2007@???> temporarily rejected after
DATA: failed to expand ACL string "${if !eq {$acl_m0}{accept}{true}":
syntax error in "if" item - "fail" expected

acl_data:

[snip to relevant bit in configure file]

warn
        set acl_m9 =    ham
        spam =          mailnull
        set acl_m9 =    spam
        condition =     ${if !eq {$acl_m0}{accept}{true}
        control =       fakereject
        logwrite =      :reject: Rejected spam (score $spam_score): $spam_report


warn
       message =       X-Spam_Status: \
                              ${if eq {$acl_m9}{spam}{Yes}{No}} (score
$spam_score) \
                              ${if def:spam_report {: $spam_report}}
       logwrite =        :main: Classified as $acl_m9 (score $spam_score)



This worked as late as 4.63... what changes are required now?

--
Juha
http://www.geekzone.co.nz/juha