From 8351b8e23ddd062e035333e5b9716442f84c9b1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lebleu?= Date: Thu, 9 Jun 2016 22:07:37 +0200 Subject: [PATCH] [fix] Set /var/mail folder owners and permissions --- data/hooks/conf_regen/25-dovecot | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/hooks/conf_regen/25-dovecot b/data/hooks/conf_regen/25-dovecot index 37552c16b..5d82470a5 100755 --- a/data/hooks/conf_regen/25-dovecot +++ b/data/hooks/conf_regen/25-dovecot @@ -38,6 +38,8 @@ do_post_regen() { # fix permissions sudo chown -R vmail:mail /etc/dovecot/global_script sudo chmod 770 /etc/dovecot/global_script + sudo chown root:mail /var/mail + sudo chmod 1775 /var/mail [ -z "$regen_conf_files" ] && exit 0