I’m posting my email setup here. The end result will:
- Use Postfix for SMTP
- Use Dovecot for IMAP and authentication
- Store usernames, email forwards, and passwords in a Postgres SQL database
- Only be accessible over encrypted channels
- Pass all common spam checks
- Support SMTP sending and IMAP email checking. I did not include POP3 because I don’t use it, but it should be easy to add
- NOT add spam filtering or web mail (this article is long enough as it is, maybe in a follow-up)