From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/51938 Path: main.gmane.org!not-for-mail From: Andreas Jaeger Newsgroups: gmane.emacs.gnus.general Subject: Re: Using different backends Date: Tue, 29 Apr 2003 07:45:32 +0200 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 1051595113 31049 80.91.224.249 (29 Apr 2003 05:45:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 29 Apr 2003 05:45:13 +0000 (UTC) Original-X-From: ding-owner+M480@lists.math.uh.edu Tue Apr 29 07:45:11 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 19ANvT-00084f-00 for ; Tue, 29 Apr 2003 07:45:11 +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 19ANwS-0005Sr-00; Tue, 29 Apr 2003 00:46:12 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19ANwK-0005Sg-00 for ding@lists.math.uh.edu; Tue, 29 Apr 2003 00:46:04 -0500 Original-Received: (qmail 81773 invoked by alias); 29 Apr 2003 05:46:04 -0000 Original-Received: (qmail 81768 invoked from network); 29 Apr 2003 05:46:04 -0000 Original-Received: from ns.suse.de (HELO Cantor.suse.de) (213.95.15.193) by sclp3.sclp.com with SMTP; 29 Apr 2003 05:46:04 -0000 Original-Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136]) by Cantor.suse.de (Postfix) with ESMTP id D896D14B8B for ; Tue, 29 Apr 2003 07:45:33 +0200 (MEST) Original-Received: from aj by arthur.inka.de with local (Exim 4.12) id 19ANvo-0006TE-00 for ding@gnus.org; Tue, 29 Apr 2003 07:45:32 +0200 Original-To: ding@gnus.org In-Reply-To: (Paul Jarc's message of "Mon, 28 Apr 2003 14:58:06 -0400") User-Agent: Gnus/5.09002 (Oort Gnus v0.20) XEmacs/21.4 (Portable Code, linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:51938 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:51938 prj@po.cwru.edu (Paul Jarc) writes: > 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.) Ok, but then I need to use duplicate suppresion in procmail and not in Gnus since nnmaildir does not support it. > 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. So, this is broken by design ;-). > 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. And then I could use nnmaildir and nnfolder in parallel. But I fear there's no possibility to use all three in parallel with getting new mail? What a pity... Thanks, Andreas -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de http://www.suse.de/~aj