blog.acmenet.ru
How to Install and configure mail-server (Postfix, Dovecot, MariaDB/MySQL) in CentOS/RHEL 7
It is assumed that you have already installed and configured Apache, PHP/MySQL and MariaDB. Instructions for setting up can be read at this link.