Skip to content

Instantly share code, notes, and snippets.

@uchilaka
Last active January 29, 2018 09:35
Show Gist options
  • Save uchilaka/9c687e02d2fb6c3d8ad415b2ade8e58c to your computer and use it in GitHub Desktop.
Save uchilaka/9c687e02d2fb6c3d8ad415b2ade8e58c to your computer and use it in GitHub Desktop.
Domain Checklist for custom mail server built on DigitalOcean

How to build your custom mail server?

These instructions are specific to opportunities to automate tasks related to a custom mail server deployed using the following instructions: https://www.digitalocean.com/community/tutorials/how-to-configure-a-mail-server-using-postfix-dovecot-mysql-and-spamassassin

Database setup

  • Add the domain name to the virtual_domains table
  • Add any user email addresses to the virtual_users table

DNS Setup

The following configurations are DNS related.

DKIM Setup

Ensure that the DKIM test passes - I suspect this needs to be completed just for the mailserver configured in your domain MX records: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-dkim-with-postfix-on-debian-wheezy

SPF Setup

This is an API entry on DNS. You MUST have an SPF record for every "mirror" domain on your mailserver.

DMARC Setup

See https://dmarc.org/overview/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment