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.