From: Martin Christensen <factotum@cs.auc.dk>
Subject: Splitting mail on SpamAssassin headers
Date: Fri, 19 Mar 2004 13:19:17 +0100 [thread overview]
Message-ID: <u577jxh3u7u.fsf@borg.cs.auc.dk> (raw)
[-- Attachment #1: Type: text/plain, Size: 862 bytes --]
Howdy!
I've tried for some time to figure out how to get Gnus to split mail
based on the X-Spam-Level header. These begin with a number of stars
in parentheses, e.g. "(***)" for a spam level of 3.
I'm using nnimap with fancy splitting. Not being sure whether or not
to doubly escape backslashes for escaping said stars, I've tried both
of following rules:
(setq nnimap-split-fancy
'(|
; ...
("X-Spam-Level" "\\*\\*+" "INBOX.junk")
("X-Spam-Level" "\\\\*\\\\*+" "INBOX.junk")
; ...
))
I haven't been able to find anything about whether I need to do
something special to get Gnus to notice the X-Spam-Level header. Do I?
What else could I try to get this to work?
Martin
--
Home page: http://www.cs.auc.dk/~factotum/
GPG public key: http://www.cs.auc.dk/~factotum/gpgkey.txt
[-- Attachment #2: Type: application/pgp-signature, Size: 235 bytes --]
next reply other threads:[~2004-03-19 12:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-19 12:19 Martin Christensen [this message]
2004-03-20 13:03 ` Svend Tollak Munkejord
[not found] ` <microsoft-free.877jxh0w2m.fsf@eicq.dnsalias.org>
2004-03-20 20:19 ` Martin Christensen
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=u577jxh3u7u.fsf@borg.cs.auc.dk \
--to=factotum@cs.auc.dk \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).