summaryrefslogtreecommitdiff
path: root/mailserver.sh
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-05-27 16:29:02 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-05-27 16:29:02 -0400
commit75325979569347cf92e35e7c379f0e5182a56f98 (patch)
treed0fb84218ad375dbb6146894bcedff09ee456f0a /mailserver.sh
parentd8e69df2123b713a95b59b797ad95a9c57bc165e (diff)
how did I miss that
Diffstat (limited to 'mailserver.sh')
-rwxr-xr-xmailserver.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/mailserver.sh b/mailserver.sh
index e7dfd63..3929ddf 100755
--- a/mailserver.sh
+++ b/mailserver.sh
@@ -193,13 +193,13 @@ postconf -e "non_smtpd_milters = inet:localhost:8891"
echo "Restarting Dovecot..."
-service dovecot restart && "Dovecot restarted."
+service dovecot restart && echo "Dovecot restarted."
echo "Restarting Postfix..."
-service postfix restart && "Postfix restarted."
+service postfix restart && echo "Postfix restarted."
echo "Restarting OpenDKIM..."
-service opendkim restart && "OpenDKIM restarted."
+service opendkim restart && echo "OpenDKIM restarted."
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=.*)"
echo "Here is your TXT entry:"