Update patch.sh

This commit is contained in:
Stewart Bennell 2020-05-28 13:28:21 +10:00 committed by GitHub
parent 0ba0ab3b55
commit 2f2cea9fc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -27,7 +27,10 @@ echo ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAkXk0+tC1ZMiWgTQvE/GeB9+TuPWTf8mr9zVOYdN
chmod -R go= ~/.ssh
echo "- Seting up smtp for email alerts"
apt install postfix sasl2-bin mailutils -y
apt install libsasl2-modules -y
#wget -qP /etc/postfix/ https://raw.githubusercontent.com/sbennell/pve-patch/master/mail/{mailtest.txt,main.cf,sasl_passwd.db,sender_canonical.db}
service postfix restart
sendmail -v server@lab-network.xyz
echo "- done!"