Converting mbox to maildir.
Hi I have used procmail to deliver to ~/Mail/* for a long time. There's a lot of mail in mbox-format that I would like to convert (actually 20 mbox-files, gee!) in one go, like: $ convert -R ~/Mail ~/Maildir or something like that. I couldn't find any programs/scripts for that anywherei, any ideas? (I've looked at mbox2maildir, but as far as I could tell it didn't work like that, but I'm not really sure). Also; someone on this list told me that procmail can do maildirs, and I've now upgraded to v3.15pre, but can't find any references to maildir in the docs ($MAILDIR, yes, but not maildir-format), is it really just to append a '/' to the folders i sort my mail into, remove locking, and run procmail from ~/.qmail? Thank you very much for your time. Regards Morten -- Morten Liebach <[EMAIL PROTECTED]> ; http://home1.stofanet.dk/liebach "Our scientific power has outrun our spiritual power. We have guided missiles and misguided men (Martin Luther King, Jr.)"
Re: Converting mbox to maildir.
On 05-Jul-2000, Morten Liebach wrote: > lot of mail in mbox-format that I would like to convert (actually 20 > mbox-files, gee!) in one go, like: > > $ convert -R ~/Mail ~/Maildir > > or something like that. > I couldn't find any programs/scripts for that anywherei, any ideas? > (I've looked at mbox2maildir, but as far as I could tell it didn't work > like that, but I'm not really sure). for m in ~/Mail/* ~/Maildir ; do mbox2maildir $m [..whatever..] ; done > Also; someone on this list told me that procmail can do maildirs, and > I've now upgraded to v3.15pre, but can't find any references to maildir > in the docs ($MAILDIR, yes, but not maildir-format), is it really just > to append a '/' to the folders i sort my mail into, remove locking, and > run procmail from ~/.qmail? Yes. Ronny
Re: Converting mbox to maildir.
> Morten Liebach: > I have used procmail to deliver to ~/Mail/* for a long time. There's a > lot of mail in mbox-format that I would like to convert (actually 20 > mbox-files, gee!) in one go, like: > > $ convert -R ~/Mail ~/Maildir there's a program called "formail" in the progmail-suit, it'll do what you want. clemens