diff options
author | varac <varacanero@zeromail.org> | 2014-01-23 15:30:53 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2014-01-23 15:30:53 +0100 |
commit | 34333c48ba5662228c37a70eb099ec9a5f96b5ac (patch) | |
tree | 30e7d9ab5ed9649398fa47bced0d580d7f91c0ae | |
parent | 0c57b954d1b33da8d6b44bb45db0dd71dd929ee5 (diff) |
change mode for /etc/dovecot.conf from 0640 to 0644
we couldn't find another way to get around this error when postfix tries
to deliver a mail via the dovecot relay:
postfix/pipe[22438]: 5951215E04: to=<...>, orig_to=<...>, relay=dovecot,
delay=0.02, delays=0.01/0/0/0.01, dsn=4.3.0, status=deferred (temporary
failure. Command output: doveconf: Fatal:
open(/etc/dovecot/dovecot.conf) failed: Permission denied )
the debian package ships this file also with mode 0644 so we think
there's no security flaw with this change.
-rw-r--r-- | manifests/base.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/base.pp b/manifests/base.pp index 7eff064..34728f3 100644 --- a/manifests/base.pp +++ b/manifests/base.pp @@ -10,7 +10,7 @@ class dovecot::base { notify => Service['dovecot'], owner => root, group => mail, - mode => '0640'; + mode => '0644'; } file { 'dovecot_config_dir': |