[Dovecot] userdb errors after upgrading to 2.1

Timo Sirainen tss at iki.fi
Tue Jul 3 03:38:24 EEST 2012

On 26.6.2012, at 18.04, André Rodier wrote:

> I am using LDAP lookups, and virtual users with the same UID/GID.
> Everything was working fine before, but now, I have this error when I
> try to send an email to a local account:
> --------------------------------------------------------
> Jun 26 15:46:52 lapetus dovecot: lmtp(24518): Error: user
> user.test at indienet.com: Auth USER lookup failed
> Jun 26 15:46:52 lapetus dovecot: auth: Error:
> userdb(user.test at indienet.com, client doesn't have lookup
> permissions for this user: userdb reply doesn't contain uid (change
> userdb socket
> --------------------------------------------------------
> However, even if I set the permissions to 0666, I still have the same error.
> Can you point me in the right direction to fix this, please?

Easiest fix is to set permissions to 0777. A better one would be to set them to 0600 and set the socket's UID to your virtual user's UID.

More information about the dovecot mailing list