Update patch.sh

This commit is contained in:
Stewart Bennell 2020-05-28 19:31:31 +10:00 committed by GitHub
parent ac4625456f
commit 5bb78919ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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