I managed to move emails and mail lists for Duzle.com and Midearth.co.uk to a faster and bigger server in about 3-4 hours.
My current setup, which I’ve had tweaked over the past couple of years, is pretty simple and straight forward:
- Postfix to handle SMTP including using SASL for SMTP authentication and supporting TLS/SSL
- Courier Maildrop as the mail delivery agent. Maildrop filters it past spamassassin and put it in the Spam folders
- Squirrelmail as the web frontend that uses Courier IMAP for retrieving emails
All user settings are stored in a MySQL database, and this includes the SpamAssasssin settings and bayes learned tokens.
Postfix, Courier IMAP, Mailman was an easy migration, as most of the setup is in the MySQL database.
The most tedious part of the whole process was getting maildrop to work nicely with my setup above. FYI, a handy command for testing maildrop is:
maildrop -V 4 -d email_test@test.com < /etc/motd
For some reason, the Maildrop versions supplied in Ubuntu Gutsy are not backwards compatible to Ubuntu Edgy (at least I had to debug my maildroprc to get it working correctly).
After about 3-4 hours of hacking, copying, tar-ing, untar-ing and some careful planning to avoid missing out on emails during the migration, we’re back running on faster hardware and even more disk space!


Posts RSS Feed