Browse Source

how did I miss that

pull/2/head
Luke Smith 5 years ago
parent
commit
7532597956
No known key found for this signature in database GPG Key ID: 4C50B54A911F6252
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      mailserver.sh

+ 4
- 4
mailserver.sh 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:"


Loading…
Cancel
Save