On Jul 11, 2009, at 2:36 AM, Jose Luis Marin Perez wrote:

When running expire-tool --test shows the following message on dovecot.log:

dovecot: Jul 11 02:05:12 Error: auth(default): prefetch(jma...@sistemasunidos.com ): userdb lookup not possible with only userdb prefetch

Yeah, that's probably the reason it's not working. Dovecot needs to figure out user's userdb configuration but you've only configured userdb prefetch. You'd need to configure another userdb after the prefetch that allows Dovecot to do userdb lookups (without first authenticating, it doesn't know the users' passwords).

 passdb:
   driver: checkpassword
   args: /usr/vpopmail/bin/vchkpw /usr/local/bin/vchkpw-wrapper.sh
 userdb:
   driver: prefetch
   args: uid=89 gid=89 home=/usr/vpopmail/domains/%d/%u

Looks like you're trying to use userdb prefetch as if it were userdb static. Those "args" in prefetch are ignored completely. If all your users use those uid/gid/home, perhaps you should be using userdb static instead of prefetch?

Reply via email to