Whilst migrating from my very manual email setup to something orchestrated by ansible and highly-available, I have come upon all sorts if jankiness I don't remember configuring.
Currently, I have multiple working MX servers, but only one postfix submission server. The MX's currently all point to a single dovecot server for LMTP, and it also pulls double-duty as my IMAP server.
Next on my list for ansible configuration:
- Set up acme.sh so that each MX can handle its own certificates for postfix and dovecot
- Configure Submission, LMTP and IMAP
- Configure extra mail services, such as opendkim, opendmarc, spf checking, dovecot indexing
This has been a real learning experience, and with any luck will get me to the point where I'm able to spin up/down new mail handlers just by adding hostnames to an ansible inventory list.
#sysadmin #homelab #ansible #dovecot #postfix #highavailability