From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kgold@watson.ibm.com (kgold) Newsgroups: gmane.emacs.help Subject: Re: dotfile spam rmail emacs Date: 26 Aug 2003 21:42:08 GMT Organization: IBM T.J. Watson Research Center Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <874r06n4fd.fsf@indigo.shootybangbang.com> <87oeyewmwd.fsf@indigo.shootybangbang.com> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1061935576 6579 80.91.224.253 (26 Aug 2003 22:06:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Aug 2003 22:06:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 27 00:06:14 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19rlx8-00010a-00 for ; Wed, 27 Aug 2003 00:06:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19rlt7-0005Fq-Rp for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Aug 2003 18:02:05 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.cs.utexas.edu!geraldo.cc.utexas.edu!an02.austin.ibm.com!ausnews.austin.ibm.com!newsfeed.btv.ibm.com!news.btv.ibm.com!kgold Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: alpha.watson.ibm.com Original-X-Trace: news.btv.ibm.com 1061934128 19866 9.2.16.245 (26 Aug 2003 21:42:08 GMT) Original-X-Complaints-To: news@btv.ibm.com Original-NNTP-Posting-Date: 26 Aug 2003 21:42:08 GMT X-Newsreader: xrn 9.01 Originator: kgold@watson.ibm.com Original-Xref: shelby.stanford.edu gnu.emacs.help:116161 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12080 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12080 John Paul Wallington writes: > > My mail goes through a filter before I get it, which writes lots of > guff in the headers. The spams have an X-Spam-Flag: YES header, so I > just use this: > > (setq rmail-spam-definitions-alist > '(((from . "") (to . "") (subject . "") > (contents . "X-Spam-Flag: YES") > (action . output-and-delete)))) I was wondering how to filter on headers other than Subject, Form, and To. Thanks. However, I've found that filtering on contents really slows down RMAIL. Since X-Spam-Flag is really a header, is there any way to tell rmail-spam-filter that, so it doesn't have to parse the entire contents? Or is that a feature request? -- -- Ken Goldman kgold@watson.ibm.com 914-784-7646