[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: |
Thu, 10 Feb 2005 13:16:49 -0500 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4.16 (linux) |
>>>>> "Ted" == Ted Zlatanov <tzz@lifelogs.com> writes:
Ted> On Wed, 12 Jan 2005, oub@mat.ucm.es wrote:
[snip]
Ted> You could use spam-use-regex-headers. Add an entry to the
Ted> spam-regex-headers-spam list to match your subject. The
Ted> check will be done against the headers as a whole using
Ted> re-search-forward so just escape the brackets appropriately.
You mean this:
`spam-regex-headers-spam' is a variable declared in Lisp.
-- loaded from "spam"
Value: ("^X-Spam-Flag: YES" "^Subject: POSIBLE SPAM SPAM.POSS")
Ted> It would be nice if in addition to "Subject" we had "Subject+raw" as
Ted> an alternative in case the user wants an exact match without regular
Ted> expressions (ditto for all the other special headers that can be used,
Ted> e.g. "From+raw"). Then "[POSSIBLE SPAM]" would just match, without
Ted> the confusion about regex escaping and word boundaries.
Very true.
Uwe