From 34333c48ba5662228c37a70eb099ec9a5f96b5ac Mon Sep 17 00:00:00 2001 From: varac Date: Thu, 23 Jan 2014 15:30:53 +0100 Subject: 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. --- manifests/base.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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': -- cgit v1.2.3