Categories
Dovecot Email Postfix SMTP

Setup an SMTP server with user authentication using postgres, postfix, and dovecot on Debian 8

Please note: this tutorial assumes postgres is already setup and configured on the machine. Install & configure the dovecot and postfix: apt-get install dovecot-core dovecot-pgsql postfix -y Provision the smtp database in postgres: su -c “psql -c \”CREATE USER smtp WITH PASSWORD ‘smtp’;\”” postgres su -c “psql -c \”CREATE DATABASE smtp WITH OWNER=smtp;\”” postgres Encrypt […]