mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
postfix: fix permission issue preventing to properly create sasl_passwd.db
This commit is contained in:
parent
cd43c8bd0d
commit
5394790f91
1 changed files with 2 additions and 0 deletions
|
@ -70,6 +70,8 @@ do_pre_regen() {
|
|||
do_post_regen() {
|
||||
regen_conf_files=$1
|
||||
|
||||
chown postfix /etc/postfix
|
||||
|
||||
if [ -e /etc/postfix/sasl_passwd ]; then
|
||||
chmod 750 /etc/postfix/sasl_passwd*
|
||||
chown postfix:root /etc/postfix/sasl_passwd*
|
||||
|
|
Loading…
Add table
Reference in a new issue