From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/51923 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.emacs.gnus.general Subject: Re: Using different backends Date: Mon, 28 Apr 2003 14:58:06 -0400 Organization: What did you have in mind? A short, blunt, human pyramid? Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1051556246 7104 80.91.224.249 (28 Apr 2003 18:57:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 28 Apr 2003 18:57:26 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M466@lists.math.uh.edu Mon Apr 28 20:57:22 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19ADoX-0001qE-00 for ; Mon, 28 Apr 2003 20:57:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19ADpU-0002SK-00; Mon, 28 Apr 2003 13:58:20 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19ADpM-0002SE-00 for ding@lists.math.uh.edu; Mon, 28 Apr 2003 13:58:12 -0500 Original-Received: (qmail 32865 invoked by alias); 28 Apr 2003 18:58:11 -0000 Original-Received: (qmail 32860 invoked from network); 28 Apr 2003 18:58:11 -0000 Original-Received: from multivac.student.cwru.edu (HELO multivac.cwru.edu) (@129.22.114.26) by sclp3.sclp.com with SMTP; 28 Apr 2003 18:58:11 -0000 Original-Received: (qmail 11425 invoked by uid 500); 28 Apr 2003 18:58:29 -0000 Original-To: Andreas Jaeger In-Reply-To: (Andreas Jaeger's message of "Sun, 27 Apr 2003 14:22:19 +0200") Mail-Copies-To: nobody Mail-Followup-To: Andreas Jaeger , ding@gnus.org Original-Lines: 36 User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:51923 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:51923 Andreas Jaeger wrote: > I'm currently trying to use different backends for different > mailfolders. Mails are split via procmail into one directory: > > (setq mail-sources > '( > (directory :path "/mail-aj/Mail/procmail-work/" > :plugged t > :suffix ".spool") > )) > > And I'd like to use - depending on the folder - either nnmaildir or > nnfolder for incoming mails. I'd suggest reconfiguring procmail so that messages destined for nnmaildir are delivered directly to your nnmaildir groups (maildirs) by procmail. (That's safe with nnmaildir, but not other backends.) Whatever's left can then be delivered to procmail-work as it is now, and then split by nnfolder. > (setq gnus-secondary-select-methods '((nnmaildir "gromit" > (directory "/mail-aj/Maildirs/") > (get-new-mail t) > ) > (nnml "") > (nnfolder "archive"))) The default for nnml and nnfolder is to do mail splitting, so this means that all three will do mail splitting, which isn't what you want. It's generally not useful to Have more than one server do splitting, because whichever one does it first will get all the mail. Along with the above change, I think you should remove get-new-mail for nnmaildir and explicitly add (nnml-get-new-mail nil) for nnml. paul