LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 04-11-2007, 03:45 PM   #1
bouchecl
Member
 
Registered: Nov 2005
Location: Quebec
Distribution: Fedora Core / Ubuntu
Posts: 37

Rep: Reputation: 15
Migrating Thunderbird maildirs to a Dovemap (imap) compatible format


I've been operating an domestic e-mail server in my house for the last two years. I currently use Postfix/Fetchmail/Dovecot (pop3) on Fedora Core 6, and once setup this thing has worked without any maintenance!

I would like to migrate the whole setup from POP3 to IMAP to gain some flexibility, like accessing my mails via a Windows client and setting up IMP Horde for web-based access outside the house. But in order to do that, I want to migrate the thousands of messages stored in Thunderbird 1.5 mail directories of all my users and convert them (with folders and all) to something compatible with dovecot imap (maildir or mbox, whichever works best).

I've looked around and nothing seems to address this kind of situation. How would you proceed in such a case?
 
Old 04-12-2007, 12:12 AM   #2
bouchecl
Member
 
Registered: Nov 2005
Location: Quebec
Distribution: Fedora Core / Ubuntu
Posts: 37

Original Poster
Rep: Reputation: 15
Lightbulb [Resolved?] There might be a way...

And it doesn't seem to be as tough as I first thought:

Since Thunderbird Mail directories ($HOME/.thunderbird/*default/Mail/) seem to be a series of mbox formatted files, I've found a script to convert from the mbox to the maildir format. It's a perl script called mb2md.pl.


It took 6-7 minutes to digest and convert 96 mboxes and thousands of messages for my own mailbox. I'll try it on the other mailboxes and report back once I'm setup with imap.

Last edited by bouchecl; 04-12-2007 at 12:13 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Migrating Evolution 2.0 to Thunderbird jaa1180 Linux - Software 8 10-23-2006 10:37 AM
Migrating Mail - Courier Imap /Maildir > Cyrus /var/spool/imap swilliams2006 Linux - Server 3 10-13-2006 05:47 PM
IMAP and thunderbird pharmd Linux - Software 3 03-23-2005 05:43 AM
Migrating from IMAP from UW to Cyrus vusa Linux - Networking 1 03-16-2005 10:27 AM
Serving local maildirs with IMAP? Jefficus Linux - Software 2 11-24-2004 03:56 AM


All times are GMT -5. The time now is 07:20 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration