[Dovecot] qmail and LDA: passdb didn't return userdb entries
Timo Sirainen
tss at iki.fi
Tue Dec 2 19:14:23 EET 2008
On Tue, 2008-12-02 at 15:35 +0100, Alessio Cecchi wrote:
> passdb:
> driver: checkpassword
> args: /home/vpopmail/bin/vchkpw
> userdb:
> driver: prefetch
> args: uid=89 gid=89 home=/home/vpopmail/domains/%d/%u
The args for prefetch userdb don't do anything. Prefetch only returns
what the passdb had already looked up. This doesn't work with deliver,
which doesn't authenticate but instead just wants to do a userdb lookup.
Since there's no userdb, it returns the "passdb didn't return userdb
entries" error. That's actually a bad error message, I fixed it now to
give "userdb lookup not possible with only userdb prefetch".
So, what to do about it? I guess you could change userdb prefetch to
userdb static. It looks like you already have its parameters set up.
You'll also need to add allow_all_users=yes parameter and make sure your
MTA rejects invalid users.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20081202/f8d501cf/attachment.bin
More information about the dovecot
mailing list