diff options
author | Jeff Becker <jeff@i2p.rocks> | 2019-06-08 11:02:44 -0400 |
---|---|---|
committer | Jeff Becker <jeff@i2p.rocks> | 2019-06-08 11:02:44 -0400 |
commit | d8ae31fcf3ede6c9cb9ba7d83ceae7e90208607d (patch) | |
tree | 37bc607dcd41cc5fa7f348936b34faa895aca1cf /emailwiz.sh | |
parent | 72e0f11a1b37148cd00325f4f352f7240334b12d (diff) |
generate spf record
Diffstat (limited to 'emailwiz.sh')
-rwxr-xr-x | emailwiz.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/emailwiz.sh b/emailwiz.sh index f4763c2..d9c9c65 100755 --- a/emailwiz.sh +++ b/emailwiz.sh @@ -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" + |