Quick and Simple Email Archival
Recently I wanted to empty email out of my university email account as I was only allowed 50 MB. After asking for suggestions on irc://freenode/fedora, I came up with the following solution:
Software Involved
- MySQL (to store settings)
- Apache HTTPD (for http serving)
- PHP (for scripting)
- Dovecot (for imap/pop)
- RoundCube (for webmail access)
The target distribution is Fedora Core 5. Also, I will not go in depth into areas where the respective installtion manuals would be more verbose.
Getting the necessary components
To install MySQL:
yum install mysql
To install Apache:
yum install httpd
To install PHP:
yum install php php-mysql
To install Dovecot:
yum install dovecot
To install RoundCube:
http://trac.roundcube.net/trac.cgi/wiki/Howto_Install
Once everything is in place, tweak the configurations to your own needs. I chose to allow Dovecot to server all network interfaces, but I did not allow it through my firewall since I ran RoundCube on the same machine as Dovecot. Alternatively, I could have bound only to 'lo'. Or, I could have allowed it at the firewall level to allow me to connect with an IMAP client remotely.
Please submit comments if you would like clarification on anything.

Quick and Simple Email Archival