From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9160 Path: news.gmane.org!not-for-mail From: Kai Oliver Kaminski Newsgroups: gmane.emacs.gnus.user Subject: Re: IMAP mail splitting problem Date: Tue, 12 Jun 2007 01:57:11 +0200 Organization: T-Online Message-ID: <87myz66o4o.fsf@gmx.de> References: <87r6omr239.fsf@gmx.de> <87k5uend2g.fsf@thalassa.lan.informatimago.com> <87tztfpgqv.fsf@gmx.de> <87k5uauywi.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1181601628 15909 80.91.229.12 (11 Jun 2007 22:40:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Jun 2007 22:40:28 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Tue Jun 12 00:40:27 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 1HxsYh-0002Fx-9g for gegu-info-gnus-english@m.gmane.org; Tue, 12 Jun 2007 00:40:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HxsYg-0006Ik-Rj for gegu-info-gnus-english@m.gmane.org; Mon, 11 Jun 2007 18:40:22 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!goblin1!goblin.stu.neva.ru!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!newsfeed00.sul.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: 46 Original-X-Trace: news.t-online.com 1181599030 02 27124 PnXR6+DryAvizZK 070611 21:57:10 Original-X-Complaints-To: usenet-abuse@t-online.de X-ID: Vx8352ZBYeXdqrwIIij1OTtQUyGTcUhQHAKknvwmSpsC9EUjw8vAE7 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:h2/cOy4JE7L7bG+wzOjSyo1opS0= Original-Xref: shelby.stanford.edu gnu.emacs.gnus:79343 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:9160 Archived-At: egallego@babel.ls.fi.upm.es (Emilio Jesús Gallego Arias) writes: > Kai Oliver Kaminski writes: > >> egallego@babel.ls.fi.upm.es (Emilio Jesús Gallego Arias) writes: >>>>>> (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")) >>>>> >>> >>> Have you tried >>> > Umm, see my config, it works ok, however sometimes I have to use > wildcards in the rules for it to work. > > (setq nnimap-split-rule '(("babel" ("INBOX" nnimap-split-fancy))) > nnimap-split-fancy > '(| ("subject" ".*\\[\\*SPAM\\*\\].*" "spam.fi") > ("subject" ".*\\[\\*INFECATADO\\*\\].*" "spam.fi") > ("subject" ".*\\[\\*ADJUNTO PROHIBIDO\\*\\].*" "spam.fi") > ("X-Spam-Flag" "YES" "spam.fi") > (any ".*clp@comp.nus.edu.sg.*" "listas/clp") > ("INBOX"))) > > > In this rule > (setq nnimap-split-rule '(("babel" ("INBOX" nnimap-split-fancy))) > > babel means the secondary select method, as in > > (setq gnus-secondary-select-methods > '((nnimap "babel" Thanks a lot for your patience, Emilio. Unfortunately that didn't help either. I have no idea what to try next. Maybe I'll try to make the Gnus functions emit some debug info. Cheers, Kai