diff --git a/manifests/dovecot.pp b/manifests/dovecot.pp index 0d071e0..4aeb59a 100644 --- a/manifests/dovecot.pp +++ b/manifests/dovecot.pp @@ -140,9 +140,17 @@ group => 'root', } + # Make sure that dovecot have access to mails + user { 'dovecot': + groups => 'mail', + require => Package[ $packages_dovecot ], + } - - + # Make sure the /var/mail folder is well configured + file { '/var/mail/': + ensure => directory, + mode => '1777', + } } # vi:smartindent:tabstop=2:shiftwidth=2:expandtab: