From: CM Reddy <[email protected]>
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 <[email protected]>