From: Emanuel Berg <embe8573@student.uu.se>
To: info-gnus-english@gnu.org
Subject: Re: Fancy splitting and spam detection
Date: Fri, 21 Aug 2015 21:15:11 +0200 [thread overview]
Message-ID: <87zj1kzc5c.fsf@nl106-137-147.student.uu.se> (raw)
In-Reply-To: <87vbcal896.fsf@free.fr>
Julien Cubizolles <j.cubizolles@free.fr> writes:
> I'm trying to setup fancy splitting on an imap server
> and I can't get spam-split to work:
In addition to a KILL file, I have this to bring order
to the chaos. The zsh, debian.user stuff is a leftover
from the days when I used mailing lists and then
manually splitted them into "newsgroups" - now I have
Gmane do that for me. But splits to spam based on
subjects and the X-Spam-Flag perhaps still catches
some fish.
(setq nnmail-split-methods
'(("spam-ooa" "^X-Spam-Flag: YES\\|^Subject:\\(lists.bofh.it mailing list memberships reminder\\|add-subjects-here\\)")
("zsh" "^\\(Cc\\|\\(Resent-\\)?To\\):.*zsh-\\(announce\\|workers\\|users\\)@zsh\.org.*")
("debian.user" "^\\(Cc\\|\\(Resent-\\)?To\\):.*debian-user@lists\.debian\.org.*")
("cc" "^\\(Newsgroups: gnu.emacs.help\\)\\|\\(Cc\\|\\(Resent-\\)?To\\):.*\\(emacs-devel\\|help-gnu-emacs\\|info-gnus-english\\)@gnu\.org.*")
("spam-ooa" "^\\(Cc\\|\\(Resent-\\)?To\\):.*l4-hackers@os\.inf\.tu-dresden\.de.*")
("emacs-w3m" "^Subject: \\(Re: \\)*\\[emacs-w3m.*")
("mail.misc" "") ))
--
underground experts united
http://user.it.uu.se/~embe8573
next prev parent reply other threads:[~2015-08-21 19:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-20 7:38 Julien Cubizolles
2015-08-21 19:15 ` Emanuel Berg [this message]
2015-08-24 11:41 ` Julien Cubizolles
2015-08-24 19:30 ` Emanuel Berg
2015-08-26 20:58 ` Julien Cubizolles
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=87zj1kzc5c.fsf@nl106-137-147.student.uu.se \
--to=embe8573@student.uu.se \
--cc=info-gnus-english@gnu.org \
/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).