On 04/09/14 23:35, Shamim Shahriar wrote:
> headers_remove = ${if or { { <{$spam_score_int}{1} } \
> { <{$spam_score_int}{${lookup mysql{select users.sa_tag *
> 10 from users,domains \
> where localpart = '${quote_mysql:$local_part}' \
> and domain = '${quote_mysql:$domain}' \
> and users.on_spamassassin = '1' \
> and users.domain_id=domains.domain_id }{$value}fail}} } \
> { eq {0}{${lookup mysql{select users.sa_tag * 10 from
> users,domains \
> where localpart = '${quote_mysql:$local_part}' \
> and domain = '${quote_mysql:$domain}' \
> and users.on_spamassassin = '0' \
> and users.domain_id=domains.domain_id}{$value}fail}}} \
> } {X-Spam-Score::X-Spam-Report} }
Double the colons. List items are now expanded separately.
--
Jeremy