From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/14460 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.gnus.user Subject: Re: newbie splitting mail question Date: Thu, 30 Dec 2010 18:58:41 +0100 Organization: aich tea tea pea dicky riley dot net Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1293734418 26912 80.91.229.12 (30 Dec 2010 18:40:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 30 Dec 2010 18:40:18 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Dec 30 19:40:12 2010 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.69) (envelope-from ) id 1PYNQ2-0007qy-Vg for gegu-info-gnus-english@m.gmane.org; Thu, 30 Dec 2010 19:40:11 +0100 Original-Received: from localhost ([127.0.0.1]:57754 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PYNQ2-0007y5-DB for gegu-info-gnus-english@m.gmane.org; Thu, 30 Dec 2010 13:40:10 -0500 Original-Path: usenet.stanford.edu!goblin1!goblin.stu.neva.ru!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 55 Original-NNTP-Posting-Host: 85.183.18.158 Original-X-Trace: quimby.gnus.org 1293731922 3164 85.183.18.158 (30 Dec 2010 17:58:42 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Thu, 30 Dec 2010 17:58:42 +0000 (UTC) User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.gnus:85191 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:14460 Archived-At: Tyler Smith writes: > Hi, > > I've just got gnus configured to read my mail via IMAP. Looks good, but > I'm having trouble figuring out the syntax for splitting mail. Nothing > gets split now, and when I run B q on any email, the message returned > indicates it would be refiled to mail.misc, which doesn't exist as far > as I can tell. I've pasted all of my gnus config details below. Can > anyone tell me what I'm doing wrong? > > Thanks, > > Tyler > > ;; loaded from my .emacs.d/init.el via (load "~/.emacs.d/gnus") > > (add-hook 'gnus-group-mode-hook 'gnus-topic-mode) > > (setq gnus-select-method > '(nnimap "mail" > (nnimap-address "MY-IMAP-SERVER") > (nnimap-stream network) > (nnimap-authenticator login) > (nnimap-port 143) > (nnimap-split-methods > '(("INBOX.forwarded" "^Received:.*OLD.SERVER") > ("INBOX.default" ""))))) > > (setq gnus-secondary-select-methods '((nntp "news.gmane.org"))) > > (defun my-gnus-summary-hook () > (local-set-key "t" 'gnus-summary-mark-as-processable)) > > (add-hook 'gnus-summary-mode-hook 'my-gnus-summary-hook) > > (setq gnus-posting-styles > '(("*" ; Matches all groups of messages > (address "my.email.address@myschool.edu") > (name "My Name")))) > > (setq nnimap-split-inbox "INBOX") > (setq nnimap-split-predicate "UNDELETED") > I would be interested in this too. My imap splitting doesnt work with spam-split anymore. Unfortunately I haven't seen a working version posted ;( Did you try using, and excuse my poor elisp/gnus terminology, all "globals" instead of passing them to gnus-select-method? The manual isn't very clear about whats best or the differences.