Re: [Dovecot] Couldn't drop privileges
From: CM Reddy cmreddy@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@gmail.com
Thanks for your help.
On Tue, Jan 14, 2014 at 6:51 AM, Joseph Tam jtam.home@gmail.com wrote:
From: CM Reddy cmreddy@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.
#mail_uid = ... if all your users share the the same GID, set it here.
Joseph Tam jtam.home@gmail.com
participants (2)
-
CM Reddy
-
Joseph Tam