summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FUNDING.yml3
-rwxr-xr-xemailwiz.sh3
2 files changed, 4 insertions, 2 deletions
diff --git a/FUNDING.yml b/FUNDING.yml
index f8e6076..c7c9a22 100644
--- a/FUNDING.yml
+++ b/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
diff --git a/emailwiz.sh b/emailwiz.sh
index 7cf5725..41bee56 100755
--- a/emailwiz.sh
+++ b/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"