瀏覽代碼

disable ufw

pull/157/head
Luke Smith 2 年之前
父節點
當前提交
0499eac5d2
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4C50B54A911F6252
共有 2 個檔案被更改,包括 4 行新增2 行删除
  1. +1
    -2
      FUNDING.yml
  2. +3
    -0
      emailwiz.sh

+ 1
- 2
FUNDING.yml 查看文件

@@ -1,3 +1,2 @@
custom: ["https://lukesmith.xyz/donate.html"]
github: lukesmithxyz
custom: ["https://lukesmith.xyz/donate", "https://paypal.me/lukemsmith", "https://lukesmith.xyz/crypto"]
patreon: lukesmith

+ 3
- 0
emailwiz.sh 查看文件

@@ -283,6 +283,9 @@ for x in spamassassin opendkim dovecot postfix; do
service "$x" restart && printf " ...done\\n"
done

service ufw disable
service ufw stop

pval="$(tr -d "\n" </etc/postfix/dkim/$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"
dmarcentry="_dmarc.$domain TXT v=DMARC1; p=reject; rua=mailto:dmarc@$domain; fo=1"


Loading…
取消
儲存