From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/31404 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Converting NNMH mail to NNML. Date: Mon, 12 Jun 2000 22:40:28 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035167817 13767 80.91.224.250 (21 Oct 2002 02:36:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:36:57 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by mailhost.sclp.com (Postfix) with ESMTP id 8A65CD051E for ; Mon, 12 Jun 2000 16:43:02 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.3/8.9.3) with ESMTP id PAC10489; Mon, 12 Jun 2000 15:42:17 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 12 Jun 2000 15:40:57 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id PAA29088 for ; Mon, 12 Jun 2000 15:40:44 -0500 (CDT) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by mailhost.sclp.com (Postfix) with ESMTP id 4A315D051E for ; Mon, 12 Jun 2000 16:41:10 -0400 (EDT) Original-Received: from marcy.cs.uni-dortmund.de (marcy.cs.uni-dortmund.de [129.217.20.159]) by waldorf.cs.uni-dortmund.de with ESMTP id WAA10615; Mon, 12 Jun 2000 22:40:28 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.20.160]) by marcy.cs.uni-dortmund.de id WAA23618; Mon, 12 Jun 2000 22:40:28 +0200 (MET DST) Original-Received: (from grossjoh@localhost) by lucy.cs.uni-dortmund.de (8.9.3/8.9.3/Debian 8.9.3-21) id WAA15625; Mon, 12 Jun 2000 22:40:28 +0200 X-Authentication-Warning: lucy.cs.uni-dortmund.de: grossjoh set sender to Kai.Grossjohann@CS.Uni-Dortmund.DE using -f Original-To: Jorge Godoy In-Reply-To: Jorge Godoy's message of "11 Jun 2000 18:08:45 -0300" User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/21.0.90 Original-Lines: 51 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:31404 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:31404 Jorge Godoy writes: > I have something near 70 folders with thousands of messages using nnmh > backend. I'd like to switch to nnml. I've been trying it the way > described in the info (respooling) but I've done something wrong and > the mail was wrongly separated. You appear to want to go from: (setq gnus-secondary-select-methods '((nnmh ""))) to: (setq gnus-secondary-select-methods '((nnml ""))) For this special case, there is a shortcut: nnmh uses files in ~/Mail for the messages, such that ~/Mail/mail/misc/1 is the first message in nnmh:mail.misc. nnml uses files in ~/Mail for the messages, such that ~/Mail/mail/misc/1 is the first message in nnml:mail.misc. So the only thing that's missing from nnml is the overview files. You can generate these using M-x nnml-generate-nov-databases RET. In a nutshell: * Your .gnus contains this: (setq gnus-secondary-select-methods '((nnmh ""))) * You change it to read like this: (setq gnus-secondary-select-methods '((nnml ""))) * IMPORTANT! You _must_ prevent Gnus from fetching mail with the new config, lest Gnus might overwrite existing messages! (setq mail-sources nil) (setq nnmail-spool-file nil) * Start Gnus. * M-x nnml-generate-nov-databases RET * Remove the two lines (setq mail-sources nil) and (setq nnmail-spool-file nil). * Start Gnus again. Does this work? kai -- I like BOTH kinds of music.