From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73384 Path: news.gmane.org!not-for-mail From: Olivier Sirven Newsgroups: gmane.emacs.gnus.general Subject: Splitting rules Date: Wed, 20 Oct 2010 23:29:03 +0200 Message-ID: <8762wwh7ts.fsf@corwin.home.thebuble.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1287610226 26483 80.91.229.12 (20 Oct 2010 21:30:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 20 Oct 2010 21:30:26 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M21755@lists.math.uh.edu Wed Oct 20 23:30:23 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P8gEp-0001ds-20 for ding-account@gmane.org; Wed, 20 Oct 2010 23:30:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1P8gDs-0007kO-Um; Wed, 20 Oct 2010 16:29:25 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1P8gDp-0007k0-JA for ding@lists.math.uh.edu; Wed, 20 Oct 2010 16:29:21 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P8gDo-0000TC-3O for ding@lists.math.uh.edu; Wed, 20 Oct 2010 16:29:20 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P8gDn-0001su-00 for ; Wed, 20 Oct 2010 23:29:19 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P8gDj-0001IG-4n for ding@gnus.org; Wed, 20 Oct 2010 23:29:15 +0200 Original-Received: from aannecy-257-1-2-38.w90-14.abo.wanadoo.fr ([90.14.105.38]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Oct 2010 23:29:15 +0200 Original-Received: from the.slaa by aannecy-257-1-2-38.w90-14.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Oct 2010 23:29:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 43 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: aannecy-257-1-2-38.w90-14.abo.wanadoo.fr User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:z58bj3e5mmLAJaAhUGjk28+ZLuE= X-Spam-Score: -1.0 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73384 Archived-At: Hi, Since the upgrade to No Gnus v0.11 I'm stuck with my splitting rules and can't make them to work. Oddly all incoming emails are moved to mail.misc group. The configuration I use (anonymized): --8<---------------cut here---------------start------------->8--- (add-to-list 'gnus-secondary-select-methods '(nnimap "df" (nnimap-inbox "INBOX") (nnimap-split-methods ( ("INBOX.toto" (lambda(group) (message group) (and (string-match "^From: toto@example.com" (buffer-string)) (string-match "^Subject:.*toto email" (buffer-string))))) ("INBOX.tutu" "^From: .*tutu@example.com") ;; general rule ("INBOX.misc" "") )) (nnir-search-engine imap) (nnimap-address "mail.example.com") (nnimap-server-port 993) (nnimap-stream ssl) (nnimap-authinfo-file "~/.authinfo.gpg") )) --8<---------------cut here---------------end--------------->8--- What am I doing wrong here? Thanks -- Olivier