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