- fixed configuration permissions for pure-ftp, fixes #309

- fixed configuration permissions for dovecot, fixes #310
- fixed some minor config-template issues
This commit is contained in:
Michael Kaufmann (d00p)
2010-07-28 06:08:14 +00:00
parent 735f890e56
commit d660165470
5 changed files with 33 additions and 7 deletions

View File

@@ -251,6 +251,7 @@ milter_default_action = accept" >> /etc/postfix/main.cf'
'dovecot' => Array(
'label' => 'Dovecot',
'commands_1' => Array(
'emerge -av dovecot',
'mv dovecot.conf dovecot.conf.gentoo',
'mv dovecot-sql.conf dovecot-sql.conf.gentoo',
'touch dovecot.conf',
@@ -260,6 +261,9 @@ milter_default_action = accept" >> /etc/postfix/main.cf'
'etc_dovecot_dovecot.conf' => '/etc/dovecot/dovecot.conf',
'etc_dovecot_dovecot-sql.conf' => '/etc/dovecot/dovecot-sql.conf'
),
'commands_2' => Array(
'chmod 0640 /etc/dovecot/dovecot-sql.conf'
),
'restart' => Array(
'/etc/init.d/dovecot restart'
)