how did I miss that

This commit is contained in:
Luke Smith 2019-05-27 16:29:02 -04:00
parent d8e69df212
commit 7532597956
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

View File

@ -193,13 +193,13 @@ postconf -e "non_smtpd_milters = inet:localhost:8891"
echo "Restarting Dovecot..." echo "Restarting Dovecot..."
service dovecot restart && "Dovecot restarted." service dovecot restart && echo "Dovecot restarted."
echo "Restarting Postfix..." echo "Restarting Postfix..."
service postfix restart && "Postfix restarted." service postfix restart && echo "Postfix restarted."
echo "Restarting OpenDKIM..." echo "Restarting OpenDKIM..."
service opendkim restart && "OpenDKIM restarted." service opendkim restart && echo "OpenDKIM restarted."
echo "Restarting Spam Assassin..." echo "Restarting Spam Assassin..."
service spamassassin restart && "Spamassassin restarted." service spamassassin restart && echo "Spamassassin restarted."
pval="$(tr -d "\n" </etc/postfix/dkim/mail.txt | sed "s/k=rsa.* \"p=/k=rsa; p=/;s/\"\s*\"//;s/\"\s*).*//" | grep -o p=.*)" pval="$(tr -d "\n" </etc/postfix/dkim/mail.txt | sed "s/k=rsa.* \"p=/k=rsa; p=/;s/\"\s*\"//;s/\"\s*).*//" | grep -o p=.*)"
echo "Here is your TXT entry:" echo "Here is your TXT entry:"