Merge pull request #9 from majestrate/master

add SPF record generation
This commit is contained in:
Luke Smith 2019-11-09 10:49:36 -05:00 committed by GitHub
commit 1f4b006462
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -234,7 +234,10 @@ 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\\t\\tv=spf1 mx a:%s -all\\n" "@" "$maildomain"
echo
echo
echo "$pval"