Update patch.sh
This commit is contained in:
parent
ac4625456f
commit
5bb78919ae
1
patch.sh
1
patch.sh
|
|
@ -34,6 +34,7 @@ wget -nc -P /etc/postfix/ https://raw.githubusercontent.com/sbennell/pve-patch/m
|
||||||
wget --user=bennellit --ask-password -P /etc/postfix/ https://bennellit.com.au/Files/noaccess/{sasl_passwd,sender_canonical}
|
wget --user=bennellit --ask-password -P /etc/postfix/ https://bennellit.com.au/Files/noaccess/{sasl_passwd,sender_canonical}
|
||||||
postmap hash:/etc/postfix/sasl_passwd
|
postmap hash:/etc/postfix/sasl_passwd
|
||||||
postmap hash:/etc/postfix/sender_canonical
|
postmap hash:/etc/postfix/sender_canonical
|
||||||
|
cp /etc/ssl/certs/thawte_Primary_Root_CA.pem /etc/postfix/cacert.pem
|
||||||
chown root:root /etc/postfix/sasl_passwd /etc/postfix/sasl_passwd.db
|
chown root:root /etc/postfix/sasl_passwd /etc/postfix/sasl_passwd.db
|
||||||
chmod 644 /etc/postfix/sasl_passwd /etc/postfix/sasl_passwd.db
|
chmod 644 /etc/postfix/sasl_passwd /etc/postfix/sasl_passwd.db
|
||||||
chown root:root /etc/postfix/sender_canonical /etc/postfix/sender_canonical.db
|
chown root:root /etc/postfix/sender_canonical /etc/postfix/sender_canonical.db
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue