From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53327 Path: main.gmane.org!not-for-mail From: Lute Kamstra Newsgroups: gmane.emacs.gnus.general Subject: Re: POP to IMAP Date: Fri, 04 Jul 2003 16:47:34 +0200 Organization: CWI, Amsterdam 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 1057330178 702 80.91.224.249 (4 Jul 2003 14:49:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 4 Jul 2003 14:49:38 +0000 (UTC) Original-X-From: ding-owner+M1871@lists.math.uh.edu Fri Jul 04 16:49:35 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 19YRsV-0000Al-00 for ; Fri, 04 Jul 2003 16:49:35 +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 19YRqm-0007Bi-00; Fri, 04 Jul 2003 09:47:48 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19YRqh-0007Bd-00 for ding@lists.math.uh.edu; Fri, 04 Jul 2003 09:47:43 -0500 Original-Received: (qmail 83642 invoked by alias); 4 Jul 2003 14:47:43 -0000 Original-Received: (qmail 83637 invoked from network); 4 Jul 2003 14:47:43 -0000 Original-Received: from hera.cwi.nl (192.16.191.8) by sclp3.sclp.com with SMTP; 4 Jul 2003 14:47:43 -0000 Original-Received: from occarina.pna.cwi.nl (occarina.pna.cwi.nl [192.16.184.200]) by hera.cwi.nl with ESMTP id QAA17902 for ; Fri, 4 Jul 2003 16:47:37 +0200 (MEST) Original-Received: (from lute@localhost) by occarina.pna.cwi.nl (8.12.8/8.12.5) id h64ElZlr017837; Fri, 4 Jul 2003 16:47:35 +0200 X-Authentication-Warning: occarina.pna.cwi.nl: lute set sender to Lute.Kamstra@cwi.nl using -f Original-To: ding@gnus.org In-Reply-To: (Reiner Steib's message of "Tue, 01 Jul 2003 15:33:22 +0200") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Original-Lines: 48 Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53327 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53327 Reiner Steib <4.uce.03.r.s@nurfuerspam.de> writes: [...] >> Thirdly, it took quite some time to move all my archived messages to >> the IMAP server. I had to go into every group (C-u RET), select all >> messages (M P b), and move (B m) them an IMAP group.[...] I would >> be nice if there were an easier way to do this. Maybe there is, but >> I just don't know about it. > > You may loop over all relevant groups and let a function do the task. > Something like this: > [... group copying code ...] Thanks. What would be really nice, is to have a command (able to deal with marked groups in the *Group* buffer) that can copy/move a group from one virtual server to another (provided the target backend allows this). This would make migrating from POP to IMAP as easy as first process marking all groups on the POP virtual server and moving them to the IMAP virtual server, and then doing some cleanup on some groups on the POP virtual server that were not deleted due to messages that failed to copy. The group copy/move command would be useful for other things as well. For example, you could easily change from nnml to nnfolder if your mail archive starts to consume an alarming number of inodes. Lute. PS Hmm, I just see that there is a command ,---- | gnus-group-move-group-to-server is an interactive compiled Lisp function in `gnus-move'. | (gnus-group-move-group-to-server INFO FROM-SERVER TO-SERVER) | | Move the group on the current line from FROM-SERVER to TO-SERVER. | | [back] `---- but this seems to relate to synchronising basically the same newsgroup on two different newsservers.