[Dovecot] Cache details

Warren Baker
Tue, 25 Nov 2008 11:57:22 -0000

Hi All,

Is there any specific details we can extract from dovecots authentication
cache (besides Authentication cache hits)?
Reason i am asking is because we had a mysql user account which was
returning a unknown user account. Fixing the one value in the sql result
didnt have any affect and Dovecot was still returning an auth failure for
the user after 24 hours had elapsed, even though auth_cache_negative_ttl was
set to 120.

Restarting Dovecot or a SIGHUP on dovecot-auth sorted out the problem. It
would be useful if we could interrogate the cache somehow to see what cache
entry is been hit.

Auth cache settings are as follows:

auth_cache_size = 51200
auth_cache_ttl = 2100
auth_cache_negative_ttl = 120

Any suggestions appreciated.

Thanks,
Warren