Update patch.sh
This commit is contained in:
parent
a7961bc7bb
commit
84afe77ffe
4
patch.sh
4
patch.sh
|
|
@ -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
|
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