mirror of
https://git.myvelabs.com/docker/myvemail.git
synced 2025-12-17 19:56:19 +00:00
Fixed /etc/opendkim/keys/ directory permissions
This commit is contained in:
parent
2215b9aa0c
commit
fa0c451694
1 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,8 @@ domains=(${MYVEMAIL_DOMAIN})
|
|||
domains+=(${MYVEMAIL_ADDMX//,/ })
|
||||
|
||||
# Permissions
|
||||
chmod go-rw /etc/opendkim/keys
|
||||
chmod go-rw /etc/opendkim/keys/
|
||||
chown root:root -R /etc/opendkim/keys/
|
||||
|
||||
# Remove socks
|
||||
rm -f /var/spool/postfix/opendkim/opendkim.sock \
|
||||
|
|
@ -38,7 +39,6 @@ done
|
|||
sed -i "s/{{HOSTNAME}}/${MYVEMAIL_SUBDOMAIN}.${MYVEMAIL_DOMAIN}/" ${MYVEMAIL_OPENDMARC_CONF}
|
||||
|
||||
# Permissions
|
||||
chown root:root -R /etc/opendkim/keys/
|
||||
chown opendkim:opendkim /etc/opendkim/keys/*/default.private
|
||||
chmod 600 /etc/opendkim/keys/*/default.private
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue