From f489d05212890a446d9d4b16bb09ba95699181df Mon Sep 17 00:00:00 2001 From: Stewart Bennell Date: Thu, 28 May 2020 14:55:53 +1000 Subject: [PATCH] Update patch.sh --- patch.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/patch.sh b/patch.sh index 0fdd6aa..84b78a3 100644 --- a/patch.sh +++ b/patch.sh @@ -29,7 +29,8 @@ chmod -R go= ~/.ssh echo "- Seting up smtp for email alerts" apt install postfix sasl2-bin mailutils -y apt install libsasl2-modules -y -wget --user=bennellit --ask-password -qP /etc/postfix/ https://bennellit.com.au/Files/noaccess/{mailtest.txt,main.cf,sasl_passwd,sender_canonical} +rm -f /etc/postfix/{mailtest.txt,main.cf,sasl_passwd,sender_canonical} +wget --user=bennellit --ask-password -P /etc/postfix/ https://bennellit.com.au/Files/noaccess/{mailtest.txt,main.cf,sasl_passwd,sender_canonical} postmap hash:/etc/postfix/sasl_passwd postmap hash:/etc/postfix/sender_canonical chown root:root /etc/postfix/sasl_passwd /etc/postfix/sasl_passwd.db