generate spf record

This commit is contained in:
Jeff Becker 2019-06-08 11:02:44 -04:00
parent 72e0f11a1b
commit d8ae31fcf3
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -207,9 +207,13 @@ echo
echo
echo
printf "Record Name\\tRecord Type\\tText of entry\\n"
# the DKIM record is this one
printf "%s._domainkey\\tTXT\\t\\tv=DKIM1; k=rsa; %s\\n" "$subdom" "$pval"
# the SPF record is this one
printf "%s\\tTXT\\tTXT\\t\\tv=spf1 mx a:%s -all\\n" "@" "$maildomain"
echo
echo
echo "$pval"