Update patch.sh

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

View File

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