Update patch.sh

This commit is contained in:
Stewart Bennell 2020-05-28 19:29:48 +10:00 committed by GitHub
parent d8344e1711
commit ac4625456f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ chmod -R go= ~/.ssh
#echo "- Seting up smtp for email alerts" #echo "- Seting up smtp for email alerts"
rm -f /etc/postfix/{mailtest.txt,main.cf,sasl_passwd,sender_canonical} rm -f /etc/postfix/{mailtest.txt,sasl_passwd,sender_canonical}
wget -nc -P /etc/postfix/ https://raw.githubusercontent.com/sbennell/pve-patch/master/mail/mailtest.txt wget -nc -P /etc/postfix/ https://raw.githubusercontent.com/sbennell/pve-patch/master/mail/mailtest.txt
#wget -nc -P /etc/postfix/ https://raw.githubusercontent.com/sbennell/pve-patch/master/mail/main.cf #wget -nc -P /etc/postfix/ https://raw.githubusercontent.com/sbennell/pve-patch/master/mail/main.cf
wget --user=bennellit --ask-password -P /etc/postfix/ https://bennellit.com.au/Files/noaccess/{sasl_passwd,sender_canonical} wget --user=bennellit --ask-password -P /etc/postfix/ https://bennellit.com.au/Files/noaccess/{sasl_passwd,sender_canonical}
@ -41,4 +41,4 @@ chmod 644 /etc/postfix/sender_canonical /etc/postfix/sender_canonical.db
service postfix restart service postfix restart
sendmail -v server@lab-network.xyz < /etc/postfix/mailtest.txt sendmail -v server@lab-network.xyz < /etc/postfix/mailtest.txt
echo "- done!" echo "- done!"