ソースを参照

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"


読み込み中…
キャンセル
保存