From: kgold@watson.ibm.com (kgold)
Subject: Re: dotfile spam rmail emacs
Date: 26 Aug 2003 21:42:08 GMT [thread overview]
Message-ID: <bigk7g$jcq$1@news.btv.ibm.com> (raw)
In-Reply-To: 87oeyewmwd.fsf@indigo.shootybangbang.com
John Paul Wallington <jpw@gnu.org> 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
next prev parent reply other threads:[~2003-08-26 21:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-24 19:24 dotfile spam rmail emacs Don Saklad
2003-08-24 21:15 ` John Paul Wallington
2003-08-25 0:38 ` Don Saklad
2003-08-25 1:23 ` John Paul Wallington
2003-08-26 21:42 ` kgold [this message]
2003-08-27 0:07 ` John Paul Wallington
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='bigk7g$jcq$1@news.btv.ibm.com' \
--to=kgold@watson.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.