info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to combine spam-split with Subject filtering.


From: Uwe Brauer
Subject: Re: How to combine spam-split with Subject filtering.
Date: Fri, 14 Jan 2005 11:47:16 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4.15 (linux)

>>>>> "Cor" == Cor Gest <cor@clsnet.nl> writes:


    Cor> Did you  put your pre-filtered-by-others filter-rule _BEFORE_
    Cor> any other existing  split and  filter-rules ?  Because  these
    Cor> are allready pre-filtered, and  therefore  can be matched  as
    Cor> positives by your own  filter-rules before the object reaches
    Cor> the "possible spam"-filter-rule.
I am not sure I understand completely. I put my filter *before* the
spam filtering.

That is my setting:

(setq
 nnimap-split-rule  'nnimap-split-fancy
 nnimap-split-inbox "INBOX"
 nnimap-split-fancy
 '(|
   ("Subject" "[\\[POSIBLE SPAM\\]*]" "SPAM.POSS")
   (: setq spam-use-BBDB-exclusive nil)
   (: spam-split 'spam-use-BBDB 'spam-use-stat "SPAM.REAL")
   (: setq spam-use-BBDB-exclusive t fake-variable nil)
   (: spam-split 'spam-use-BBDB "SPAM.HAM")
   (: setq spam-use-BBDB-exclusive nil)
   "MAILBOX"))

And it *does not* work, however what does work (partially is)

(setq
 nnimap-split-rule  'nnimap-split-fancy
 nnimap-split-inbox "INBOX"
 nnimap-split-fancy
 '(|
   ("Subject" "POSIBLE SPAM" "SPAM.POSS")
   (: setq spam-use-BBDB-exclusive nil)
   (: spam-split 'spam-use-BBDB 'spam-use-stat "SPAM.REAL")
   (: setq spam-use-BBDB-exclusive t fake-variable nil)
   (: spam-split 'spam-use-BBDB "SPAM.HAM")
   (: setq spam-use-BBDB-exclusive nil)
   "MAILBOX"))

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.


Uwe 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]