Mail migration March 14
Over the weekend I was able to complete my mail migration from starsky.ee.ucla.edu to acis.ufl.edu. The main challenge was that starsky uses mbox folders (uw imap) while ACIS uses Maildir folders (cyrus). Maildir folders are superior, and the cyrus imap server is faster than the uw imap server. I am glad to move to Maildir, however, there was some pain in doing so.
My mail consists of over 1 GB of data going back to as early as 1995. The complete record only starts around 1999 however. In addition to physically moving the mail, I had to convert all my scripts to deal with Maildir folders rather than mbox. This includes my Procmail setup, along with several home-brew spam fighting scripts.
Along the way I found a few new tools:
- Offlineimap: this is a great tool that allowed me to synchronize my mail on starsky with the mail at ACIS. I also use it to keep a local copy of my email on my laptop (where I read my mail with muttng).
- Mairix: once I have a local copy of my mail, I want to be able to quickly search that 1 GB of data. The only way to do that quickly is to index it, and query the database. Fortunately, the mairix tool makes this trivially easy (depending on your definition of trivial). Mairix along with mutt is making me love email again.
Hopefully, ACIS will be the home of my email for many years to come so I won’t have to deal with this again for years to come. By then, hopefully there will be more powerful tools.