Browse Source

working on adding docs for SPF, DKIM, & DMARC

mailsrv/add-dkim
Mar Alegre 4 years ago
parent
commit
4745d4f64b
  1. 16
      mailsrv/docs/Deploy.md

16
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

Loading…
Cancel
Save