[Dovecot] Override userdb=passwd gid

Veiko Kukk veiko.kukk at ekp.ee
Thu Jul 12 16:43:04 EEST 2012


Hi!

I have problem with Dovecot 2.1.1 writing maildir files as users primary 
group. Tried to override gid value, but probably i'm missing something...

doveconf -n
# 2.1.1: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.18-308.11.1.el5 x86_64 CentOS release 5.8 (Final)
auth_verbose = yes
info_log_path = /var/log/dovecot/info.log
listen = *
log_path = /var/log/dovecot/error.log
mail_location = maildir:%h/Maildir
passdb {
   args = cache_key=%u dovecot
   driver = pam
}
protocols = imap
service imap-login {
   process_min_avail = 40
   service_count = 1
}
service imap {
   process_limit = 2048
   vsz_limit = 2 G
}
ssl = required
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
   args = blocking=no gid=mail
   driver = passwd
}

Also tried using 'override_fields = gid=mail'. Users are from nss and 
winbind.

Any ideas what i might do wrong?

-- 
Veiko



More information about the dovecot mailing list