[exim] Re: Filter on plussign

Etusivu
Poista viesti
Vastaa
Lähettäjä: Andreas Metzler
Päiväys:  
Vastaanottaja: exim-users
Aihe: [exim] Re: Filter on plussign
Lasse B. Jensen <gymer@???> wrote:
> Lasse B. Jensen wrote:
>> I got at header that looks like this


>> X-SpamScore: +++++

[difficulties with regex matching on that]
>> Anyone got an idea?


> Doesn't anybody else filter on spam score from exiscan output?


Sure, but I simply use

if $header_X-spam-score: contains "(+++++"

instead of messing with regular expressions.

I think $spam_score_int is available in exim filter, too, so

if $spam_score_int is above 49

might also work.
             cu andreas
-- 
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"
                                           http://downhill.aus.cc/