Gentoo Blog

The ultimate Gentoo Blog
  • Home
  • About

Confixx + Postfix+ IMAP + Maildir

Simon | May 4, 2010

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.

Share on Facebook
Categories
confixx/Plesk
Comments rss
Comments rss
Trackback
Trackback

« X11 Forwarding with SSH Plesk drweb antivirus update cron mails »

Leave a Reply

Click here to cancel reply.

 

February 2012
M T W T F S S
« Dec    
 12345
6789101112
13141516171819
20212223242526
272829  

Categories

  • confixx/Plesk
  • fun
  • Gentoo
  • iptables
  • mysql
  • news
  • Raid Controllers
  • Stuff
  • Ubuntu/Debian
  • Xen/Vmware

Links

  • Gentoo
  • http.net
  • iphone software linux
  • michael-fuchs.net
  • Ubuntu
  • webupd8.org

Search Blog

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox