info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fancy splitting and spam detection


From: Emanuel Berg
Subject: Re: Fancy splitting and spam detection
Date: Fri, 21 Aug 2015 21:15:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]