CentOS5 Mail Toaster Configuration Howto
A CentOS 5 Virtual Mail Server using Postfix, Dovecot, and MySQL- Get Started
- Configure postfixadmin
- Set up the database
- Configure some test accounts
- Configure Postfix
- Configure SMTP Authentication / SASL
- Configure TLS
- Install and configure Dovecot
- Testing everything out
Get Started
Enable the centosplus repository# vi /etc/yum.repos.d/CentOS-Base.repoUnder the [centosplus] section, change enabled=0 to enabled=1
Remove Sendmail
# yum erase sendmailMake sure that apache and MySQL are installed and running
# yum install dovecot httpd postfix mysql-server php php-mysql php-mbstringI like to edit /etc/my.cnf first, and make mysql listen just on localhost by adding this to the top [mysqld] section:
bind=127.0.0.1Then start up apache and mysql
# /etc/init.d/httpd on # /etc/init.d/mysqld on # chkconfig httpd on # chkconfig mysqld onIf you don't have a root password for mysql, you should do that now:
/usr/bin/mysqladmin -u root password 'new-password' /usr/bin/mysqladmin -u root -h <YOUR_IP_ADDRESS> password 'new-password'Next - Configure postfixadmin