[Dovecot] Problems with Expire Plugin
Timo Sirainen
tss at iki.fi
Sun Jul 12 21:20:19 EEST 2009
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(jmarin at 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?
More information about the dovecot
mailing list