Jeff Kowalczyk
2008-Jul-04 03:15 UTC
[Dovecot] How to pull /var/mail mbox leftovers to Maildirs?
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? Thanks.
Frank Elsner
2008-Jul-04 06:30 UTC
[Dovecot] How to pull /var/mail mbox leftovers to Maildirs?
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 :-) --Frank Elsner -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: perfect_maildir.pl URL: <http://dovecot.org/pipermail/dovecot/attachments/20080704/b570364c/attachment-0002.pl>
Odhiambo Washington
2008-Jul-04 06:41 UTC
[Dovecot] How to pull /var/mail mbox leftovers to Maildirs?
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
Maybe Matching Threads
- Error starting dovecot
- Migrating from mbox to maildir, which converter is compatible with dovecot
- "anvil: Error: connect limit: disconnection for unknown pid 17659 + ident lmtp/backup@backup.invalid"
- The "<" sign in config files
- Converting mbox to Maildir, all prior read messages are downloaded as new