浏览代码

Update emailwiz.sh

pull/308/head
tfasano1 3 个月前
committed by GitHub
父节点
当前提交
0aa7a8df38
找不到此签名对应的密钥 GPG 密钥 ID: B5690EEEBB952194
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      emailwiz.sh

+ 1
- 1
emailwiz.sh 查看文件

@@ -349,7 +349,7 @@ done

# In some cases, big name email services favor an spf record with certain mechanisms included.
# See http://www.open-spf.org/SPF_Record_Syntax
mailip=ip4:$(ping -c 1 $domain | grep -m1 -Eo '([0-9]+\.){3}[0-9]+')
mailip=$(ping -c 1 $domain | grep -m1 -Eo '([0-9]+\.){3}[0-9]+')

pval="$(tr -d '\n' <"/etc/postfix/dkim/$domain/$subdom.txt" | sed "s/k=rsa.* \"p=/k=rsa; p=/;s/\"\s*\"//;s/\"\s*).*//" | grep -o 'p=.*')"
dkimentry="$subdom._domainkey.$domain TXT v=DKIM1; k=rsa; $pval"


正在加载...
取消
保存