[Dovecot] Problems with Expire Plugin
Timo Sirainen
tss at iki.fi
Sun Jul 12 22:52:50 EEST 2009
Then you'll need to figure out some other userdb that lets Doveot get
those directories with a userdb lookup. Have you tried userdb
vpopmail? You can still keep using userdb prefetch for imap/pop3, just
add the userdb vpopmail after the prefetch.
On Jul 12, 2009, at 3:20 PM, Jose Luis Marin Perez wrote:
>
> Dear Timo,
>
> Thankas for your reply.
>
> Initially I configure static userdb static and worked for all accounts
> except for those with the directory with the following format
>
> /usr/vpopmail/domain/sistemasunidos/0/jmarin
> /usr/vpopmail/domain/sistemasunidos/1/lcampo
>
> So I had to configure userdb prefetch
>
> How could solve this problem because I have many accounts that have
> the format described above
>
> Thanks
>
> Jose Luis
>
>> CC: dovecot at dovecot.org
>> From: tss at iki.fi
>> To: jolumape_al at hotmail.com
>> Subject: Re: [Dovecot] Problems with Expire Plugin
>> Date: Sun, 12 Jul 2009 14:20:19 -0400
>>
>> 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?
>>
>
> _________________________________________________________________
> Discover the new Windows Vista
> http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE
More information about the dovecot
mailing list