From 4745d4f64be5e34813f8562102415d96ad0d1c93 Mon Sep 17 00:00:00 2001 From: Mar Alegre Date: Mon, 27 Dec 2021 19:13:06 -0500 Subject: [PATCH] working on adding docs for SPF, DKIM, & DMARC --- mailsrv/docs/Deploy.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/mailsrv/docs/Deploy.md b/mailsrv/docs/Deploy.md index 9071e20..ad8c407 100644 --- a/mailsrv/docs/Deploy.md +++ b/mailsrv/docs/Deploy.md @@ -3,15 +3,15 @@ ## create dirs ``` -sudo mkdir -p /srv/vol/mailsrv/{db,mail,ssl} +sudo mkdir -p /srv/vol/mailsrv/{data,mail,ssl} sudo chown -R 5000:5000 /srv/vol/mailsrv sudo chmod go-rwx /srv/vol/mailsrv/ssl ``` -put your `users` and `aliases.d` in the `db` directory. Mail will go in the `mail` directory. +put your `users` and `aliases.d` in the `data` directory. Mail will go in the `mail` directory. ``` sudo -i -cd /srv/vol/mailsrv/db +cd /srv/vol/mailsrv/data mkdir aliases.d ``` @@ -40,13 +40,21 @@ then make sure configuration has taken place by running: nft -f /etc/nftables.conf ``` -## set up domain name +## DNS config Set up a DNS A Record pointing to your host machine. Make sure it works by running: ``` ping ${dnsname:?} ``` +### SPF + +wildcards *only* work for domains that don't already exist. + +### DKIM + +### DMARC + ## get SSL certificates from letsencrypt install acme.sh