Update patch.sh

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

View File

@ -33,10 +33,10 @@ rm -f /etc/postfix/{main.cf,mailtest.txt,sasl_passwd,sender_canonical}
wget -nc -qP /etc/postfix/ https://raw.githubusercontent.com/sbennell/pve-patch/master/mail/main.cf
echo Enter Office 365 Email Address?
read Email
read; Email
echo Enter Office 365 Email Password?
read Password
read; Password
echo "[smtp.office365.com]:587 $Email:$Password" >> /etc/postfix/sasl_passwd
echo "/.+/ $Email" >> /etc/postfix/sender_canonical