[exim] (no subject)

Pàgina inicial
Delete this message
Reply to this message
Autor: cjackson
Data:  
A: exim-users
Assumpte: [exim] (no subject)
Hi,

I've been through this condition about 20 times and can't find an error. But
if X-Spam-Score is defined AND forwardOnly is false, the condition still
fails.

condition = \
       ${if and \
         { \
             { eq \
                { \
                  ${lookup ldap {user="cn=admin,dc=dom,dc=com" pass=p \
                  ldap:///cn=${quote_ldap:$local_part},\
                  ou=${quote_ldap:$domain},\
                  dc=dom,dc=com?forwardOnly?}}{false} \
                }
             } \
             { or \
                  { \
                     { eq {$h_X-DSPAM-Result:}{Spam} } \
                     { def:h_X-Spam-Score:} \
                  } \
             } \
         } \
         {yes}{no} \
        } 


Thanks,
Craig Jackson