Update patch.sh
This commit is contained in:
parent
84afe77ffe
commit
f82cab5a98
8
patch.sh
8
patch.sh
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue