[exim] (no subject)

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: cjackson
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [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