On Tue, 14 May 2002, Sagi Bashari wrote:

> From: "Alex Shnitman" <[EMAIL PROTECTED]>
> > On Tue, 2002-05-14 at 19:13, Tzafrir Cohen wrote:
> >
> > > I'm trying to convert some standard mbox mailboxes to maildir directories.
> > > Somehow I can't find the right tool to do that in a resonable manner.
> > >
> > > After a couple of hours of searches and trying some 5 diffent tools: can
> > > anybody please point me to some convertor? Preferably something that is
> > > known to work (unlike http://www.qmail.org/mbox2maildir , for instance)
> >
> > A method that has worked very well for me is loading the mailbox into
> > mutt, tagging all the messages and saving them to a new Maildir.
> >

I'll try that. Is there any chance of running this from a script?

>
> Another idea is passing them through procmail, and making it save them to
> the Maildir , without any rules (It supports Maildir, but I'm not sure how
> you can re-process the whole mbox file, I'm pretty sure that it is possible,
> though).

I tried:

cat /path/to/mailbox |procmail -m mbox2mdir.rc

where mbox2mdir is a minimal procmailrc file:

:0
/path/to/maildir/

I got the whole mailbox as one message in the maildir

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to