Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Using ifile as a last resort
@ 2003-02-10 19:17 Karl Eklund
  2003-02-11  9:24 ` Stefan Bodewig
  0 siblings, 1 reply; 2+ messages in thread
From: Karl Eklund @ 2003-02-10 19:17 UTC (permalink / raw)


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?


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-11  9:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-10 19:17 Using ifile as a last resort Karl Eklund
2003-02-11  9:24 ` Stefan Bodewig

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).