[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
splitting to different groups according spam level
From: |
Ronan KERYELL |
Subject: |
splitting to different groups according spam level |
Date: |
26 Jul 2004 14:02:11 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
I use spamassassin and I have a working nnmail-split-fancy with a rule
("x-spam-flag" "YES" "mail.SPAM")
that triggers at spam level 5.
Now I would like to split lower spams according to their spam level that
also is represented by the star number in the x-spam-level header such as
:
X-Spam-Level: **
Unfortunately I have not succeeded to write a matching rule for that.
I've tried those mutating regex but none is working :-/
setq nnmail-split-fancy
'(|
;; A message inherit the group of its parent if any :
(: nnmail-split-fancy-with-parent)
;; The first match wins :
(|
;; The SPAM from level 2 :
("x-spam-flag" "YES" "mail.SPAM") ;; this one works
("x-spam-level" "\\*\\*\\*\\*" "mail.SPAM.4")
("x-spam-level" "\*\*\*" "mail.SPAM.3")
("x-spam-level" "**" "mail.SPAM.2")
("x-spam-level" "\\\\*" "mail.SPAM.1")
[...]
Any idea ?
Thanks,
--
Ronan KERYELL |\/ Tel: (+33|0) 2.29.00.14.15
Labo Informatique & Télécom |/) Fax: (+33|0) 2.29.00.12.82
ENST Bretagne, CS 83818 K GSM: (+33|0) 6.13.14.37.66
F-29238 PLOUZANÉ CEDEX |\ E-mail: rk@enstb.org
FRANCE | \ http://www.lit.enstb.org/~keryell
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- splitting to different groups according spam level,
Ronan KERYELL <=