From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9129 Path: news.gmane.org!not-for-mail From: Kai Kaminski Newsgroups: gmane.emacs.gnus.user Subject: IMAP mail splitting problem Date: Fri, 08 Jun 2007 15:46:18 +0200 Organization: T-Online Message-ID: <87r6omr239.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1181316450 10540 80.91.229.12 (8 Jun 2007 15:27:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Jun 2007 15:27:30 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Jun 08 17:27:28 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HwgMz-0004V0-Dc for gegu-info-gnus-english@m.gmane.org; Fri, 08 Jun 2007 17:27:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HwgMw-0005SV-UG for gegu-info-gnus-english@m.gmane.org; Fri, 08 Jun 2007 11:27:18 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeedt0.toon.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 38 Original-X-Trace: news.t-online.com 1181310378 03 22493 DJSo6HiLiIbJSx6M 070608 13:46:18 Original-X-Complaints-To: usenet-abuse@t-online.de X-ID: TJaSzsZBoeH2+NYvVEkrv6oRLiljo0ZfFDyR6L9-JLwGi692dX8XcB User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:VNRAJhgAO5j/vJ4oda2sTEZp39Q= Original-Xref: shelby.stanford.edu gnu.emacs.gnus:79306 X-Mailman-Approved-At: Fri, 08 Jun 2007 11:27:17 -0400 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:9129 Archived-At: Hi, I'm using Gnus v5.11/Emacs 22.1.50.1 to read mail (via nnimap) and news. Everything works fine, except mail splitting. I'm subscribed to several mailing lists, which can be recognized by looking for [foo] in the subject line. I have the following in my .gnus: (setq nnimap-split-crosspost nil) (setq nnimap-split-inbox '("INBOX")) (setq nnimap-split-predicate "UNSEEN UNDELETED") (setq nnimap-split-rule 'nnimap-split-fancy) (setq nnimap-split-fancy '(| (subject "\\[Haskell\\]" "Haskell") (subject "\\[Haskell-cafe\\]" "Haskell-cafe") (subject "\\[slime-devel\\]" "slime-devel") ("List-Id" "yhc\\.haskell\\.org" "yhc") "misc")) Interestingly the 'yhc' entry seems to work, but all other mails are always put into mail.misc. While trying to figure out where that 'mail.'-prefix came from, I discovered that nnmail-split-fancy's value is "mail.misc". This is odd, since I didn't set that value. In fact, there is not a single reference to nnmail-anything in my configuration files. I tried replacing nnimap- by nnmail- in the code above, but that didn't help either. I also tried variations of "Subject", "subject" etc, to no avail. Using non-fancy mail-splitting didn't seem to work either, as in (setq nnimap-split-rule '(("Haskell" "Subject:.*\\[Haskell\\]") ("Haskell-cafe" "Subject:.*\\[Haskell-cafe\\]") ("misc" ""))) Kai