We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d61dd89 commit e5a1b7fCopy full SHA for e5a1b7f
func/domain.sh
@@ -647,6 +647,8 @@ add_mail_ssl_config() {
647
ln -s $HOMEDIR/$user/conf/mail/$domain/ssl/$domain.key /usr/local/hestia/ssl/mail/mail.$domain.key
648
649
# Set correct permissions on certificates
650
+ chmod 750 $HOMEDIR/$user/conf/mail/$domain/ssl
651
+ chown -R $MAIL_USER:mail $HOMEDIR/$user/conf/mail/$domain/ssl
652
chmod 0644 $HOMEDIR/$user/conf/mail/$domain/ssl/*
653
chown -h $user:mail $HOMEDIR/$user/conf/mail/$domain/ssl/*
654
chmod -R 0644 /usr/local/hestia/ssl/mail/*
0 commit comments