From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/2069 Path: news.gmane.org!not-for-mail From: Karl Eklund Newsgroups: gmane.emacs.gnus.user Subject: Using ifile as a last resort Date: 10 Feb 2003 20:17:47 +0100 Message-ID: <87adh4t06c.fsf@medelklassen.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138668635 13808 80.91.229.2 (31 Jan 2006 00:50:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:50:35 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:30:08 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!nsc.no!nextra.com!uio.no!feed.news.nacamar.de!fu-berlin.de!uni-berlin.de!as6-6-4.k.s.bonet.SE!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Sender: ke@localhost Original-NNTP-Posting-Host: as6-6-4.k.s.bonet.se (217.215.95.167) Original-X-Trace: fu-berlin.de 1044905277 43842180 217.215.95.167 (16 [157486]) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:2209 Original-Lines: 28 X-Gnus-Article-Number: 2209 Tue Jan 17 17:30:08 2006 Xref: news.gmane.org gmane.emacs.gnus.user:2069 Archived-At: This is the way I split mail. ifile-gnus is set to "spam filter only" mode. (setq nnmail-split-fancy '(| ("X-Mailing-List" "\\(debian-.*\\)@lists.debian.org" "list.\\1") ("List-Id" "bugtraq\.list-id\.securityfocus\.com" "list.bugtraq") ("List-Id" "elektrosmog\.nu" "list.elektrosmog") ("List-Id" "selinux-aktiva\.se\.linux\.org" "list.selinux-aktiva") ("List-Id" "ifile-discuss\.nongnu\.org" "list.ifile-discuss") ("List-Id" "full-disclosure\.lists\.netsys\.com" "list.full-disclosure") ("List-Id" "spyce-users\.lists\.sourceforge\.net" "list.spyce-users") ("Mailing-List" "contact sslug-announce-help@sslug\.dk; run by ezmlm" "list.sslug-announce") (: ifile-spam-filter "mail.misc"))) ifile takes a while so I don't want to run it on the mailing lists, only on everything that isn't caught by the mailing list filters. I think it runs on every message now. Is there some obvious error? I must confess I don't have a profound understanding of "fancy splitting". Another question: if I put in < and > around the regexps (the List-Id header looks that way), everything ends up in the mail.misc. \< \> or \\< \\> don't work either. Do plain < > really have a meaning in regexps?