State directory doesn't need to be modifiable by mail-user
This commit is contained in:
parent
9d3c86a118
commit
c2ad6bf5a1
|
@ -196,7 +196,7 @@ in {
|
|||
|
||||
systemd = {
|
||||
tmpfiles.rules = [
|
||||
"d ${cfg.state-directory} 0751 ${cfg.mail-user} ${cfg.mail-group} - -"
|
||||
"d ${cfg.state-directory} 0711 root root - -"
|
||||
"d ${cfg.mail-directory} 0750 ${cfg.mail-user} ${cfg.mail-group} - -"
|
||||
"d ${cfg.state-directory}/sieves 0750 ${config.services.dovecot2.user} ${config.services.dovecot2.group} - -"
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue