From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/4462 Path: news.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.gnus.user Subject: Re: How to combine spam-split with Subject filtering. Date: Thu, 10 Feb 2005 13:16:49 -0500 Message-ID: <87mzucxotq.fsf@mat.ucm.es> References: <86zmzeqwcs.fsf@mat.ucm.es> <4nhdkmvora.fsf@lifelogs.com> Reply-To: Uwe Brauer NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138670371 23328 80.91.229.2 (31 Jan 2006 01:19:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:19:31 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:33:48 2006 Original-Path: quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: maportatil10.quim.ucm.es Original-X-Trace: quimby.gnus.org 1108037808 9620 147.96.7.218 (10 Feb 2005 12:16:48 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Thu, 10 Feb 2005 12:16:48 +0000 (UTC) X-Hashcash: 1:20:050210:gnu.emacs.gnus::FRuEfcCHwlsyyR1j:000000000000000000000000000000000000000000000005PId User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4.16 (linux) Cancel-Lock: sha1:GsxdKC/mF2gQP1EqjeCGNXb0lU4= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:4603 Original-Lines: 28 X-Gnus-Article-Number: 4603 Tue Jan 17 17:33:48 2006 Xref: news.gmane.org gmane.emacs.gnus.user:4462 Archived-At: >>>>> "Ted" == Ted Zlatanov 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