Browse Source

Merge pull request #9 from majestrate/master

add SPF record generation
pull/15/head
Luke Smith 4 years ago
committed by GitHub
parent
commit
1f4b006462
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      emailwiz.sh

+ 3
- 0
emailwiz.sh 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"


Loading…
Cancel
Save