commit cd3969f9a448861043b692656b3f94d34b8e3196
parent 60827c6faa99dd06a78eeb548493aa59f8081e0e
Author: Petar Yotsev <petar@yotsev.xyz>
Date: Sun, 26 Dec 2021 11:32:38 +0000
Send DMARC reports only on failure
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mmv b/mmv
@@ -169,7 +169,7 @@ mkdir -p /etc/mail/dns/$domain &&
echo "mail._domainkey.$domain. IN TXT \"v=DKIM1;k=rsa;p=$pub_key\"" > /etc/mail/dns/$domain/dkim &&
echo "$domain. IN TXT \"v=spf1 mx -all\"" > /etc/mail/dns/$domain/spf &&
echo "_dmarc.$domain. IN TXT
-\"v=DMARC1;p=quarantine;pct=100;rua=mailto:postmaster@$domain\"" > /etc/mail/dns/$domain/dmarc &&
+\"v=DMARC1;p=quarantine;pct=100;ruf=mailto:postmaster@$domain\"" > /etc/mail/dns/$domain/dmarc &&
echo "$domain. IN MX 0 $maildom." > /etc/mail/dns/$domain/mx &&
success "Wrote relevant dns records in /etc/mail/dns/$domain/" ||
failure "Failed to write relevant dns records in /etc/mail/dns/$domain/"