[Dovecot] Couldn't drop privileges

Joseph Tam jtam.home at gmail.com
Tue Jan 14 03:21:42 EET 2014


From: CM Reddy <cmreddy at armor5.com>

> userdb {
>   args = username_format=%u /etc/dovecot/users
>   driver = passwd-file
> }
> ...
> Log information:
> ...
> Jan 13 16:42:44 cmreddy-Lenovo-G500s dovecot: imap(armor5): Error: user
> armor5: Couldn't drop privileges: User is missing GID (see mail_gid setting)

Fairly self-explanatory, isn't it?  It appears your userdb does
not specify GID for a user.  Either define it, or ...

 	In share/doc/dovecot/example-config/conf.d/10-mail.conf:

 	# System user and group used to access mails. If you use multiple, userdb
 	# can override these by returning uid or gid fields. You can use either numbers
 	# or names. <doc/wiki/UserIds.txt>
 	#mail_uid =

... if all your users share the the same GID, set it here.

Joseph Tam <jtam.home at gmail.com>


More information about the dovecot mailing list