[Dovecot] How to pull /var/mail mbox leftovers to Maildirs?
Odhiambo Washington
odhiambo at gmail.com
Fri Jul 4 09:41:54 EEST 2008
On Fri, Jul 4, 2008 at 9:30 AM, Frank Elsner
<frank at moltke28.b.shuttle.de> wrote:
> On Thu, 03 Jul 2008 23:15:20 -0400 Jeff Kowalczyk wrote:
>> I just got my preferred postfix+dovecot(-1.1.1) configuration working on
>> Ubuntu 8.04 server. Users and Maildirs migrated, etc.
>>
>> I wasn't seeing inbound mail (in the email client) until I set:
>>
>> sudo postconf -e 'home_mailbox = Maildir/'
>>
>> Which I hadn't needed in the previous server's main.cf
>>
>> I have a few hours worth of inbound mostly-spam in /var/mail/(username)
>> during the time I was figuring this out.
>>
>> What command line tools could I use to pull those message from the mboxes
>> to the Maildirs?
>
> The attached script might help.
> I used it during migration from UW-IMAP to dovecot.
> It worked, although I'm not the author :-)
Actually, it's better than mb2md. I have used it before on a large
scale migration (about 40k users).
--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"Oh My God! They killed init! You Bastards!"
--from a /. post
More information about the dovecot
mailing list