[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to combine spam-split with Subject filtering.
From: |
Cor Gest |
Subject: |
Re: How to combine spam-split with Subject filtering. |
Date: |
14 Jan 2005 13:01:15 +0000 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Someone referred to as: Uwe Brauer <oub@mat.ucm.es>
has comitted the herein quoted text :
> (setq
> nnimap-split-rule 'nnimap-split-fancy
> nnimap-split-inbox "INBOX"
> nnimap-split-fancy
> '(|
> ("Subject" "POSIBLE SPAM" "SPAM.POSS")
...
> Partially because the universtity filter put also labels like
>
> Some_bizarre_charset[POSIBLE SPAM]Some_bizarre_charset
> and these are not found by the above string.
("Subject" ".*\\[POSSILBLE SPAM\\].*" "SPAM.POSS")
This expr should work since gnu-elisp reg_exps do regard [ ] as special.
and the .* matches everything before and/or after the boxed expr.
the 2-backslashes make the [] literals.
or
("Subject" ".*\\<\\[POSSIBLE.SPAM\\]\\>.*" "SPAM.POSS")
ahould do the trick, this just looks for `the word' among the rest
of the line-noise.
Cor
--
He who disregards the Only True Editor or the Documentation strays far indeed
(defvar My-Computer '((OS . "GNU/Emacs") (IPL . "GNU/Linux")))
If everything else fails try Reading The Frigging Manual
(loop (princ "Om mani padme hum"))
- How to combine spam-split with Subject filtering., Uwe Brauer, 2005/01/12
- Re: How to combine spam-split with Subject filtering., Tim McNamara, 2005/01/12
- Re: How to combine spam-split with Subject filtering., Reiner Steib, 2005/01/13
- Re: How to combine spam-split with Subject filtering., Uwe Brauer, 2005/01/13
- Re: How to combine spam-split with Subject filtering., Uwe Brauer, 2005/01/13
- Re: How to combine spam-split with Subject filtering., Aidan Kehoe, 2005/01/13
- Re: How to combine spam-split with Subject filtering., Uwe Brauer, 2005/01/13
- Re: How to combine spam-split with Subject filtering., Cor Gest, 2005/01/13
- Re: How to combine spam-split with Subject filtering., Uwe Brauer, 2005/01/14
- Re: How to combine spam-split with Subject filtering.,
Cor Gest <=
Re: How to combine spam-split with Subject filtering., Hubert Chan, 2005/01/14