Skip to Content.
Sympa Menu

devel - Re: [sympa-dev] Probably a bug in the scenario code

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Olivier Salaün - CRU <address@concealed>
  • To: Rudolf Weeber <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-dev] Probably a bug in the scenario code
  • Date: Mon, 31 Jan 2005 18:19:55 +0100

Hi Rudolf,

If you look carefully, you have a 'YES' in the X-Spam-Report :
X-Spam-Report: No Score: -4.7 Tests: ALL_TRUSTED,AWL,BAYES_00User-Agent: Mutt/1.5.6+20040907i
You should precise your scenario rules this way :
match([header->X-Spam-Report],/
^Yes/) smtp -> editorkey,quiet*


Rudolf Weeber wrote:
I have a scenario that should filter out spam. Unfortunately it seems to fail on a random basis. (It works in 90% of the cases)

Here is the scenario:
[...]
match([header->X-Spam-Status],/Yes/) smtp -> editorkey,quiet*
match([header->X-Spam-Report],/Yes/) smtp -> editorkey,quiet*
true()       smtp,smime,md5    -> do_it

Here is a sample message header:
(It doesn't even contain the word Yes.)
(Might it be possible, that the scenario code fails, if the headers
occour multiple times?)

[...]
X-Spam-Report: No Score: -4.7 Tests: ALL_TRUSTED,AWL,BAYES_00
User-Agent: Mutt/1.5.6+20040907i
X-FaVeVe-Spam-Score: -4.9 (----)
X-Spam-Report: No Score: -4.9 Tests: ALL_TRUSTED,AWL,BAYES_00
X-FaVeVe-Spam-Score: -5.0 (-----)
X-Spam-Report: No Score: -5.0 Tests: ALL_TRUSTED,AWL,BAYES_00
X-DSPAM-Result: Innocent
X-DSPAM-Confidence: 1.0000
X-DSPAM-Probability: 0.0023
  
-- 
Olivier Salaün
Comité Réseau des Universités
-------------------------------------------
Validation signature / Trusting  signature: --> http://igc.cru.fr/trust.html
------------------------------------------- 

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Archive powered by MHonArc 2.6.19+.

Top of Page