[Dovecot] Problems with Expire Plugin

Robert Schetterer robert at schetterer.org
Mon Jul 13 00:30:58 EEST 2009


Timo Sirainen schrieb:
> 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
> 

Hi Timo,

i am still in testing expire plugin too,
perhaps i would be usefull to have smaller time condition settings
i think the smallest setting recent is 1 which means 1 day
for testing it would be nice too have hours and minutes too,
dont know if this would be a big problem to code

-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria


More information about the dovecot mailing list