[Dovecot] Removing specific entry in user/auth cache

Daniel Parthey daniel.parthey at informatik.tu-chemnitz.de
Fri Jun 29 04:39:38 EEST 2012


Angel L. Mateo wrote:
> El 27/06/12 14:24, Timo Sirainen escribió:
> >On 27.6.2012, at 14.10, Angel L. Mateo wrote:
> >>We have dovecot configured with auth cache.
> >> Is there any way to remove a specific entry (not all) from this cache?
> > Nope. What do you need it for?
> Because information for users sometimes changes.

We for example, define the per-user quota via mysql userdb and it needs
to be updated in a timely manner, after it has been changed in the database
via a web interface.

Since we are using a pre-fetch userdb from mysql (which uses the same mysql
database as the passdb), we were required to reduce the auth cache ttl to
one minute in order to ensure timely quota updates.

It would be good if there was some mechanism to detect or force such changes
without having to reduce caching time to one minute.

Regards
Daniel
-- 
https://plus.google.com/103021802792276734820



More information about the dovecot mailing list