Confixx + Postfix+ IMAP + Maildir

This howto describes howto get rid of the horrible mboxes for mail which confixx uses by default. Converting all your mailboxes to the maildir format also allows you to use imap. Please make backups of your confixx installation before you begin with this howto you have been warned:

1. Edit your confixx main.conf

vi /root/confixx/confixx_main.conf

When your finished this is what it should look like:

$maildrop = ‘HOMEDIR/Maildir/’;
$mailBoxName = ‘Maildir’;
$pop_homeDir = ‘/var/mail’; //specify folder where you want maildirs to be stored. the folder must exist
$mail_realHome = ’1?;

2. Edit your postfix main.cf

vi /etc/postfix/main.cf

And add the following line:

home_mailbox = Maildir/

3. Edit your procmailrc

vi /etc/procmailrc

And add the following line:

DEFAULT=”$HOME/Maildir/”

4. Run the confixx counterscript

/root/confixx/confixx_counterscript.pl –fa -dbg

5. Convert existing Mboxes to Maildir. Confixx provides a script for doing this. Run the script and make sure to answer all the questions. Or except the defaults which should be ok.

/root/confixx/admin/contrib/convert_mb2md.pl

6. If you are using qpopper uninstall it and install courier pop and imap if you need imap. This is for debian and ubuntu:

aptitude purge openbsd-inetd qpopper
aptitude install courier-pop
aptitude install courier-imap

Thats it check you log files send a test mail and enjoy.

Leave a Reply

Your email address will not be published. Required fields are marked *