On Tue, 14 May 2002, Tzafrir Cohen wrote:

> > 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

Isn't this what formail is for? (-s option).


-- 
Matan Ziv-Av.                         [EMAIL PROTECTED]



=================================================================
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