From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/51592 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: mail splitting to another backend Date: Fri, 18 Apr 2003 10:56:15 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <4nadepf4bp.fsf@lockgroove.bwh.harvard.edu> <4n8yu8euvx.fsf@lockgroove.bwh.harvard.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050656390 4631 80.91.224.249 (18 Apr 2003 08:59:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 18 Apr 2003 08:59:50 +0000 (UTC) Original-X-From: ding-owner+M136@lists.math.uh.edu Fri Apr 18 10:59:48 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 196Rim-0001CY-00 for ; Fri, 18 Apr 2003 10:59:48 +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 196Rfe-0003Fg-00; Fri, 18 Apr 2003 03:56:34 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 196RfV-0003FY-00 for ding@lists.math.uh.edu; Fri, 18 Apr 2003 03:56:25 -0500 Original-Received: (qmail 4848 invoked by alias); 18 Apr 2003 08:56:22 -0000 Original-Received: (qmail 4843 invoked from network); 18 Apr 2003 08:56:22 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by sclp3.sclp.com with SMTP; 18 Apr 2003 08:56:22 -0000 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.9/8.12.9) with ESMTP id h3I8uFXK010399 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Fri, 18 Apr 2003 10:56:17 +0200 Original-To: Ding Mailing List Mail-Copies-To: nobody X-Payment: hashcash 1.2 0:030418:ding@gnus.org:3cbcddf7c5032ec7 X-Hashcash: 0:030418:ding@gnus.org:3cbcddf7c5032ec7 In-Reply-To: <4n8yu8euvx.fsf@lockgroove.bwh.harvard.edu> (Ted Zlatanov's message of "Thu, 17 Apr 2003 16:22:58 -0400") User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3.50 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:51592 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:51592 Ted Zlatanov writes: > On Thu, 17 Apr 2003, jas@extundo.com wrote: >> You can use an IMAP mail-source and split from it into nnml. > > How? Using "nnml+private:mail" inside nnimap-split-fancy didn't work, > for instance (it created an IMAP folder with that name). (setq mail-sources '(imap :server "mail.example.org" :predicate "1:*" :mailbox "INBOX.tonnml")) This would fetch all messages from INBOX.tonnml and split them using nnmail, and there you should be able to split the into nnml. >> Perhaps a directory mail-source handles the other direction. > > I tested directing the nnmail split to nnimap, and that failed as > well (creating a directory under ~/Mail with the "nnimap+..." name). I take back my idea -- nnimap cannot split mail from mail-sources, only from a IMAP mailbox. This is probably not very difficult to fix, though. Just replace the part that fetches mail from the INBOX, before it is splitted, with some code that gets mail from a mail-source. But to not interfer with normal mail-sources, I think this would mean adding a nnimap-mail-sources.