From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/16239 Path: news.gmane.org!not-for-mail From: Seb Newsgroups: gmane.emacs.gnus.user Subject: Re: nnimap splitting emacs 24, does not split Date: Tue, 09 Apr 2013 08:25:06 -0500 Organization: Church of Emacs Message-ID: <87ip3vygy5.fsf@kolob.subpolar.dyndns.org> References: <86y5n0q4j8.fsf@member.fsf.org> <87k3oenq8k.fsf@kolob.subpolar.dyndns.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1365513930 21785 80.91.229.3 (9 Apr 2013 13:25:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Apr 2013 13:25: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 Tue Apr 09 15:25:32 2013 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UPYYE-00053W-BM for gegu-info-gnus-english@m.gmane.org; Tue, 09 Apr 2013 15:25:30 +0200 Original-Received: from localhost ([::1]:47983 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPYYD-0001Go-Un for gegu-info-gnus-english@m.gmane.org; Tue, 09 Apr 2013 09:25:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPYY8-0001Fm-ID for info-gnus-english@gnu.org; Tue, 09 Apr 2013 09:25:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPYY2-0008Lx-Er for info-gnus-english@gnu.org; Tue, 09 Apr 2013 09:25:24 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:47705) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPYY2-0008Lr-7d for info-gnus-english@gnu.org; Tue, 09 Apr 2013 09:25:18 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UPYXz-0004ng-1k for info-gnus-english@gnu.org; Tue, 09 Apr 2013 15:25:15 +0200 Original-Received: from s0106c8d719636840.wp.shawcable.net ([24.77.164.163]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Apr 2013 15:25:15 +0200 Original-Received: from spluque by s0106c8d719636840.wp.shawcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Apr 2013 15:25:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 74 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: s0106c8d719636840.wp.shawcable.net Cancel-Lock: sha1:EoOm7oezQEtYd8jtA88blEFHf50= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 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: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:16239 Archived-At: On Sun, 07 Apr 2013 13:35:23 -0500, Seb wrote: > I've recently moved to Emacs 24 (GNU Emacs 24.3.50.1 > (x86_64-pc-linux-gnu, GTK+ Version 3.4.2) of 2013-04-03 on dex, > modified by Debian, which ships Gnus v5.13. It does seem like all I > needed to do was to replace the variables as you suggest, but somehow > all my mail is now landing in INBOX, whereas before upgrading it was > going to the respective groups as specified by `nnimap-split-fancy' > (now `nnmail-split-fancy). > I'm using a local IMAP dovecot server, which receives mail from > various sources collected by fetchmail: > (setq gnus-select-method > '(nnimap "sluque" > (nnimap-address "my.dovecot.com") > (nnimap-stream ssl))) > and below is my `nnmail-split-fancy' rules: > (require 'spam) > (setq spam-split-group "SPAM" > spam-use-regex-headers t > spam-use-bogofilter t > nnmail-split-methods 'nnmail-split-fancy > nnimap-split-methods 'nnmail-split-fancy > nnimap-split-inbox '("INBOX") > nnmail-mail-splitting-decodes t > nnmail-split-fancy > '(| (: spam-split 'spam-use-regex-headers) > (from ".*dovecot.*" "System") > (to ".*ecolog-l.*" "Ecolog-L") > (from ".*mammal-l.*" "Mammal-L") > (to ".*mammal-l.*" "Mammal-L") > (: spam-split))) > (spam-initialize) > It seems as though the rules are now never matching anythiing, so all > my mail ends up in the specified `nnimap-split-inbox'. Has there been > a change in how these splits should be specified? Thanks. In case someone is experiencing the same, I found a solution after experimenting. I moved server variables to the definition of the IMAP select method, and removed `nnimap-split-fancy': ---<--------------------cut here---------------start------------------->--- (require 'spam) (setq spam-split-group "SPAM" spam-use-regex-headers t spam-use-bogofilter t nnmail-mail-splitting-decodes t nnmail-split-methods 'nnmail-split-fancy nnmail-split-fancy '(| (: spam-split 'spam-use-regex-headers) (from ".*dovecot.*" "System") (to ".*ecolog-l.*" "Ecolog-L") (from ".*mammal-l.*" "Mammal-L") (to ".*mammal-l.*" "Mammal-L") (: spam-split)) gnus-select-method '(nnimap "sluque" (nnimap-address "kolob.subpolar.dyndns.org") (nnimap-stream ssl) (nnimap-inbox "INBOX") (nnimap-split-methods default))) (spam-initialize) ---<--------------------cut here---------------end--------------------->--- -- Seb