Am 10.01.2012 15:02, schrieb SCHNEIDER Benoit:
>>> R=ditch_spam
>>> 2012-01-10 10:56:32 1RkYRT-0001ZX-OJ Completed
>>
>> 1.
>> condition = ${if >{$spam_score_int}{${lookup mysql{select
>> users.sa_refuse * 10 from users,domains \
>> 2.
>> where localpart = '${quote_mysql:$local_part}' \
>> 3.
>> and domain = '${quote_mysql:$domain}' \
>> 4.
>> and users.on_spamassassin = '1' \
>> 5.
>> and users.domain_id=domains.domain_id \
>> 6.
>> and users.sa_refuse > 0 }{$value}fail}} {yes}{no}}
>>
Add something like this to it "and whiteliste not regexp
'${quote_mysql:$header_from}''
Marius