On 13.11.2007, at 13.21, Bjørn T Johansen wrote:
Any way to minimize the number of sql statements that dovecot do?(and I tried adding userdb prefetch { } but number of sql calls are still the same)
Did you add the userdb_* fields to passdb? Did you put prefetch before userdb sql? Show dovecot -n output? Set auth_debug=yes to see what SQL queries Dovecot actually sends.
For actual caching there's also auth_cache_size setting which is 0 by default.
PGP.sig
Description: This is a digitally signed message part