[exim] Re: (no subject)

Etusivu
Poista viesti
Vastaa
Lähettäjä: cjackson
Päiväys:  
Vastaanottaja: cjackson
Kopio: exim-users
Aihe: [exim] Re: (no subject)
cjackson writes:

> 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
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##
>
> !DSPAM:4134c27c10921786312160!
>



Thanks, I fixed it. Those curly braces drive me batty.
C