Converting mbox to Maildir

Claude Gagné claude.gagne at multitech.qc.ca
Mon Apr 23 18:19:49 IST 2007


Hi Neil,

It's exactly my situation. I'll give it a try as soon as I merge.

Thanks for your great help.

Neil Wilson a écrit :
> Claude Gagné wrote:
>> Hi,
>>
>> I need to convert emails in mbox to Maildir format. Anyone has 
>> something to suggest ?
>>
>> Thanks !
>
> I use the two scripts attached to convert all the mailboxes in one go.
>
> Just check the paths in convert.sh and rename files accordingly(remove 
> .txt etc :)
>
> I normally put both of these under /usr/local/bin/
> then the only thing you need to change in it is...
>
> spool=/var/spool/mail
>
> Leave as is if your mboxes are here...
>
> maild=/home/vmail
> Change to the location of your Maildirs, mine are /home/user/Maildir 
> so I just change this to...
> maild=/home/
>
> Once it's done you need to change the permissions on your homedirs as 
> the users and the group gets changed to root.
>
> I use this all the time, hope it helps.
>
> Neil
>
>
>
>


More information about the MailScanner mailing list