summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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:"