Gnus development mailing list
 help / color / mirror / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Cc: ding@gnus.org
Subject: Re: Converting NNMH mail to NNML.
Date: Mon, 12 Jun 2000 22:40:28 +0200	[thread overview]
Message-ID: <vafvgze3a6b.fsf@lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: Jorge Godoy's message of "11 Jun 2000 18:08:45 -0300"

Jorge Godoy <godoy@conectiva.com> 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.



  parent reply	other threads:[~2000-06-12 20:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-11 21:08 Jorge Godoy
2000-06-11 21:28 ` Harry Putnam
2000-06-11 22:58   ` Jorge Godoy
2000-06-11 23:41     ` Harry Putnam
2000-06-12 20:40 ` Kai Großjohann [this message]
2000-06-14 13:03   ` Jorge Godoy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vafvgze3a6b.fsf@lucy.cs.uni-dortmund.de \
    --to=kai.grossjohann@cs.uni-dortmund.de \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).