From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75427 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.gnus.general Subject: Re: Just shoot me now Date: Wed, 22 Dec 2010 23:40:50 +0100 Organization: aich tea tea pea dicky riley dot net Message-ID: References: <87bp4es21b.fsf@marauder.physik.uni-ulm.de> <82r5d9ajlm.fsf@gmail.com> <0hlj3hwxxz.fsf@news.eternal-september.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1293078587 14541 80.91.229.12 (23 Dec 2010 04:29:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Dec 2010 04:29:47 +0000 (UTC) Cc: ding@gnus.org To: Lawrence Mitchell Original-X-From: ding-owner+M23779@lists.math.uh.edu Thu Dec 23 05:29:40 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 1PVco7-0005zm-RF for ding-account@gmane.org; Thu, 23 Dec 2010 05:29:40 +0100 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 1PVcn5-0000xg-67; Wed, 22 Dec 2010 22:28:35 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PVXMe-0007yc-Sz for ding@lists.math.uh.edu; Wed, 22 Dec 2010 16:40:56 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PVXMc-0006Wt-Vx for ding@lists.math.uh.edu; Wed, 22 Dec 2010 16:40:56 -0600 Original-Received: from mail-bw0-f45.google.com ([209.85.214.45]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PVXMc-0003Et-65 for ding@gnus.org; Wed, 22 Dec 2010 23:40:54 +0100 Original-Received: by bwz16 with SMTP id 16so6905888bwz.32 for ; Wed, 22 Dec 2010 14:40:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject :organization:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=sPGwLU5ugU90gIImx1848SQWf4FMj5Rkj7N4QdkY4Hw=; b=f4DPOFDO8pTdda/9k8fxr2oHAJcTPGe6458IxXMjuq/99Un1/v46j3oEUWXEz+Da8C AT4rRW5tT0sUPycHWTSD21lIUWbPIw647k/Zm8rDla+1B/kURrTEpqDd42anmds7oXv8 7n07e7A8Aa9Xm1jfbYOnw61UFYj7TZbWtRlEs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=jJeFL9M2mB89lqxUiTIqLI5kJF1bkNClv7l7McHL4vY/UAsYvnezFCiPe0jdyZ5df5 ktMIUZ92WwGPQhFpCNrrypvDy9HcwpyzuYKMWefUqrJATdwy5XwXhzSz7PhtkzP6+hiC RiaC74htL02Xy7TpVReb6eqLn89rpUIHdmBQg= Original-Received: by 10.204.66.65 with SMTP id m1mr6304019bki.71.1293057653679; Wed, 22 Dec 2010 14:40:53 -0800 (PST) Original-Received: from localhost ([85.183.18.158]) by mx.google.com with ESMTPS id b6sm4370784bkb.22.2010.12.22.14.40.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 22 Dec 2010 14:40:52 -0800 (PST) In-Reply-To: (Lawrence Mitchell's message of "Wed, 22 Dec 2010 17:14:01 +0000") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75427 Archived-At: Lawrence Mitchell writes: > Richard Riley wrote: > > [...] > >> Abd just in case anyone is reading this, I still havent got an example >> of fancy splitting working, Here is my setup:- > >> ,---- >> | (setq spam-use-bogofilter t) >> | (setq spam-use-spamassassin t) >> | >> | (require 'spam) >> | (spam-initialize) >> | >> | (setq nnimap-split-inbox '("INBOX")) > > This variable no longer exists in gnus. As of Lars' recent > nnimap rewrite. > > You want: > > (setq nnimap-split-methods 'nnimap-split-fancy) >> | (setq nnimap-split-fancy '(| (: spam-split) "INBOX")) >> | >> | (setq nnmail-split-inbox '("INBOX")) > > Similarly here. > > (setq nnmail-split-methods 'nnmail-split-fancy) > >> | (setq nnmail-split-fancy '(| (: spam-split) "SYS-INBOX")) >> | >> | (setq spam-split-disabled nil) >> | >> | (setq spam-autodetect-recheck-messages nil) >> | (setq spam-mark-ham-unread-before-move-from-spam-group t) >> | (setq spam-mark-new-messages-in-spam-group-as-spam t) >> | (setq spam-split-group "Gnus-Spam") >> `---- > >> And no splitting is happening on the INBOX. I cant think what else might >> be inhibiting it so if no one can help I'll try, gulp, to debug it... > > The manual hasn't been updated inline with the most recent set of > nnimap changes, maybe? > > Cheers, > Lawrence ok corrections made. It worked the first time as it did before I reverted to the faulty config earlier. I enabled spam autodetection for the group. And the second time I entered the INBOX I got:- Debugger entered--Lisp error: (wrong-type-argument listp nnimap-split-fancy) nnmail-article-group(nnimap-dummy-active-number nil nnimap-save-mail-spec) nnmail-check-duplication("<4Oz1cgmcivDcq0rLec2NA9Braic.mv.1293040975222@OMS09.techtargetlists.com>" nnimap-save-mail-spec nnimap-dummy-active-number nnimap-save-mail-spec) nnmail-process-mmdf-mail-format(nnimap-save-mail-spec nnimap-dummy-active-number nnimap-save-mail-spec) nnmail-split-incoming(#> nnimap-save-mail-spec nil nil nnimap-dummy-active-number nnimap-save-mail-spec) nnimap-split-incoming-mail() nnimap-request-scan(nil "riley") gnus-request-scan(nil (nnimap "riley" (nnir-search-engine imap) (nnimap-address "offlineimap"))) gnus-get-unread-articles(nil) gnus-group-get-new-news(nil) call-interactively(gnus-group-get-new-news nil nil) Q: Can someone explain how the group parameters compare to the global settings such as nnimap-inbox? config:- ,---- | (setq spam-use-bogofilter t) | (setq spam-use-spamassassin t) | | (require 'spam) | (spam-initialize) | | (setq nnimap-inbox '("INBOX")) | (setq nnimap-split-fancy '(| (: spam-split) "INBOX")) | (setq nnimap-split-methods 'nnimap-split-fancy) | (setq nnimap-split-download-body t) | | (setq nnmail-inbox '("INBOX")) | (setq nnmail-split-fancy '(| (: spam-split) "SYS-INBOX")) | (setq nnmail-split-methods 'nnmail-split-fancy) | | (setq spam-split-disabled nil) | | (setq spam-autodetect-recheck-messages nil) | (setq spam-mark-ham-unread-before-move-from-spam-group t) | (setq spam-mark-new-messages-in-spam-group-as-spam t) | (setq spam-split-group "Gnus-Spam") `----