Thursday, March 31, 2011

Set up Virtual Mail Server using Postfix in Ubuntu Hardy

These are few things which need to be taken care of cautiously:
1. In postfix's main.cf file - ensure 'mydestinations' parameter is set to blank. Otherwise the domain folder and user mail dir will not be created in the server (although it shows in the mysql tables). The IMAP server testing in test_config page of Roundcube will show error message "no file/directory is found/created".
2. If Posfixadmin is intended to be installed as mail manager for setup virtual domain/user, let the postfixadmin do the table creation. The database and super user account can be created earlier.
3. Roundcube web mail; if the user needs to login to his/her account at the first time, make sure '$rcmail_config['auto_create_user'] value is set to 'true'. Other wise it keep displaying the login page.