[Dovecot] Couldn't drop privileges
Pascal Volk
user+dovecot at localhost.localdomain.org
Mon Jan 13 21:37:49 EET 2014
On 01/13/2014 11:22 AM CM Reddy wrote:
> …
> 2. Failed to Login command with an error.
> …
> Lenovo-G500s:~$ doveconf -n
> # 2.2.10: /usr/local/etc/dovecot/dovecot.conf
> # OS: Linux 3.8.0-29-generic x86_64 Ubuntu 12.04.3 LTS
> …
> passdb {
> args = scheme=CRYPT username_format=%u /etc/dovecot/users
> driver = passwd-file
> }
> ssl_cert = </etc/ssl/certs/dovecot.pem
> ssl_key = </etc/ssl/private/dovecot.pem
> userdb {
> args = username_format=%u /etc/dovecot/users
> driver = passwd-file
> }
>
> …
> 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)
-> ^^^^^^^^^^^^^^^^^^^ <-
You userdb seems to be incomplete.
,--[ http://wiki2.dovecot.org/UserDatabase ]--
| …
| The user database lookup returns these fields:
|
| * uid …
| * gid …
| * home …
| * mail …
| …
`--
See the last example in
<http://wiki2.dovecot.org/AuthDatabase/PasswdFile>. The password line
for user armor5 would be:
armor5:{plain}abc123:1001:1001::/home/armor5
`mail' can be left blank, since you've configured mail_location.
Regards,
Pascal
--
The trapper recommends today: face1e55.1401320 at localdomain.org
More information about the dovecot
mailing list