Using mbox2cyrus.pl

Gavin McCullagh gavin.mccullagh at gcd.ie
Thu Oct 7 12:24:10 EDT 2010


Hi,

On Thu, 07 Oct 2010, Patrick Goetz wrote:

> I have a few mbox files that I need to transfer to cyrus (one relatively 
> large ~3MB).  I downloaded the perl script mbox2cyrus.pl, and looked 
> over the code, and I'm not confident that this will work for a system with
> 
> unixhierarchysep: yes
> 
> Does anyone have any experience with this?  Am I going to have to 
> rewrite this script to get at my mbox files?

If you have mutt around the place you can do:

mutt -f <your_mbox>
(should open the mbox)
 T
 all<return>
(should tag all files)
 ;C
imaps://<username>@<imapserver>/<foldername>
(copy all tagged mails 

which should copy all mails to <foldername> on that imap server.

Gavin



More information about the Info-cyrus mailing list