https://ixnfo.com/postfix-dovecot-mysql.html
Почтовый сервер из Postfix, Dovecot и MySQL