Skip to content

Instantly share code, notes, and snippets.

@d4rken
Created July 16, 2018 19:37
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save d4rken/787061bd1f059e789061224a2a886d5e to your computer and use it in GitHub Desktop.
Save d4rken/787061bd1f059e789061224a2a886d5e to your computer and use it in GitHub Desktop.
Tutorial for self-hosted mail servers
A collection of guides/sites/posts that you may want to look through when setting up a mail server.
### General
* https://www.digitalocean.com/community/tutorials/how-to-configure-a-mail-server-using-postfix-dovecot-mysql-and-spamassassin
### Postfix (SMTP)
* https://seasonofcode.com/posts/custom-domain-e-mails-with-postfix-and-gmail-the-missing-tutorial.html
* https://seasonofcode.com/posts/setting-up-dkim-and-srs-in-postfix.html
### Dovecot
* https://www.tecmint.com/configure-postfix-and-dovecot-with-virtual-domain-users-in-linux/
* https://wiki2.dovecot.org/HowTo/SimpleVirtualInstall
* https://serverfault.com/questions/357053/how-do-i-change-dovecot-virtual-user-passwords/357054#357054
* https://serverfault.com/questions/561623/how-to-use-usernames-instead-of-e-mail-addresses-for-dovecot-login
* https://www.debuntu.org/how-to-virtual-emails-accounts-with-postfix-and-dovecot/
### DKIM
* https://wiki.debian.org/opendkim
* https://tecadmin.net/setup-dkim-with-postfix-on-ubuntu-debian/
* https://terminal28.com/how-to-install-and-configure-opendkim-postfix-dns-debian-9-stretch/
* https://christian.skala.me/blog/gmail-why-are-you-doing-this-to-me/
* https://linoxide.com/mail/setup-postfix-mail-server-dkim/
* https://unix.stackexchange.com/questions/74477/postfix-smtpd-warning-connect-to-milter-service-unix-var-run-opendkim-opendki
* https://serverfault.com/questions/861642/opendkim-not-signing-mail
### Testers
* https://mxtoolbox.com/SuperTool.aspx
* http://www.isnotspam.com
### TLS
* https://community.letsencrypt.org/t/how-to-meet-gmails-new-2016-email-tls-requirement-red-lock/28097/9
* https://www.reddit.com/r/postfix/comments/6yo487/must_issue_a_starttls_command_first/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment