User Tools

Site Tools


computing:mailserver

This is an old revision of the document!



  • mailserver
  • Jonathan Haack
  • Haack's Networking
  • webmaster@haacksnetworking.org

mailserver


This tutorial is for users of Debian GNU/Linux who want to set up a proper email server. By proper, I mean both incoming and outgoing, and not merely a send-only MTA and/or relay. If you only need to send or relay email, please check out exim4. This tutorial assumes you know how to set up A, AAAA, SPF, DKIM, DMARC, MX, and PTR records. If not, learn up, and do not proceed. If you know how to do that, and also know how to setup nginx and/or apache virtual hosts, you are in good shape!

sudo nano /etc/hosts

Edit the second line and add a line to the bottom similar to:

127.0.1.1 example.org example
127.0.0.1 mail.haacknet.org localhost

oemb1905 2022/12/05 13:24

computing/mailserver.1670299385.txt.gz · Last modified: 2022/12/06 04:03 by oemb1905