Leftover from my older server where I setup my email via NSA Proof your Email
1. Installed postfix
config in /etc/postfix
Added mx records
Added A record to this server mail.jackmcintoshthomson.com
Changed hostname to mail.jackmcintoshthomson.com
2. Guides
Old but basic for setting up postfix + dovecot
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-postfix-e-mail-server-with-dovecot
Video on settting up MX records and others
https://www.youtube.com/watch?v=o66UFsodUYo
Ended up using this guide for setting up in latest debian. Still having some ssl version issues though?
https://www.tecmint.com/install-postfix-mail-server-with-webmail-in-debian/
Had to enable smtpd manually for port 587
https://bobcares.com/blog/enable-port-587-postfix/
Had to change dovecot to use letsencrypt certs
Setting up DKIM
https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-dkim-with-postfix-on-debian-wheezy
Grab the entire suggested txt record for the DNS
Used a milter to install spam assasin see here. Just outright rejects spam?
https://www.nesono.com/node/220
Added fail2ban. I think it defaults with dovecot/imap?