Skip to content

Commit 36540a7

Browse files
committed
Updated setup instructions
1 parent 72782ce commit 36540a7

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

setup/15_install_deploy.sh

+17
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ Also copy the following two files too:
9999
pem: private key (guard it well)
100100
cert: public key
101101
102+
DMARC
103+
---
104+
Add this TXT record to the $MAILDOMAIN DNS zone:
105+
106+
_dmarc.$MAILDOMAIN. IN TXT \"v=DMARC1; p=reject;\"
102107
103108
PTR
104109
---
@@ -107,8 +112,20 @@ If your hosting provider does not allow you to set PTR records but has
107112
assigned their own hostname, then edit /etc/zone-mta/pools.toml and replace
108113
the hostname $HOSTNAME with the actual hostname of this server.
109114
115+
116+
TL;DR
117+
-----
118+
Add the following DNS records to the $MAILDOMAIN DNS zone:
119+
120+
$MAILDOMAIN. IN MX 5 $HOSTNAME.
121+
$MAILDOMAIN. IN TXT \"v=spf1 ip4:$PUBLIC_IP ~all\"
122+
$DKIM_SELECTOR._domainkey.$MAILDOMAIN. IN TXT \"$DKIM_DNS\"
123+
_dmarc.$MAILDOMAIN. IN TXT \"v=DMARC1; p=reject;\"
124+
125+
110126
(this text is also stored to $INSTALLDIR/$MAILDOMAIN-nameserver.txt)" > "$INSTALLDIR/$MAILDOMAIN-nameserver.txt"
111127

128+
112129
printf "Waiting for the server to start up.."
113130

114131
until $(curl --output /dev/null --silent --fail http://localhost:8080/users); do

0 commit comments

Comments
 (0)