[Dovecot] Auth_cache not working?

Jan van den Berg jan.vandenberg at isp.solcon.nl
Wed Feb 27 18:33:33 EET 2008


Hi,

 

I have:

auth_cache_size = 4096

auth_cache_ttl = 3600

 

I use Thunderbird connecting to my Dovecot IMAP server 1.1rc1. I click
on five folders and close Thunderbird.

This is my log:

 

dovecot: Feb 27 17:26:56 Info: Dovecot v1.1.rc1 starting up

dovecot: Feb 27 17:26:56 Info: auth-worker(default): mysql: Connected to
auth01 (Auth)

dovecot: Feb 27 17:27:07 Info: imap-login: Login: user=<roka-05>,
method=PLAIN, rip=10.4.32.70, lip=10.4.32.235

dovecot: Feb 27 17:27:08 Info: imap-login: Login: user=<roka-05>,
method=PLAIN, rip=10.4.32.70, lip=10.4.32.235

dovecot: Feb 27 17:27:10 Info: imap-login: Login: user=<roka-05>,
method=PLAIN, rip=10.4.32.70, lip=10.4.32.235

dovecot: Feb 27 17:27:11 Info: imap-login: Login: user=<roka-05>,
method=PLAIN, rip=10.4.32.70, lip=10.4.32.235

dovecot: Feb 27 17:27:13 Info: imap-login: Login: user=<roka-05>,
method=PLAIN, rip=10.4.32.70, lip=10.4.32.235

dovecot: Feb 27 17:27:20 Info: IMAP(roka-05): Disconnected: Logged out
bytes=83/469

dovecot: Feb 27 17:27:20 Info: IMAP(roka-05): Disconnected: Logged out
bytes=106/524

dovecot: Feb 27 17:27:20 Info: IMAP(roka-05): Disconnected: Logged out
bytes=71/463

dovecot: Feb 27 17:27:20 Info: IMAP(roka-05): Disconnected: Logged out
bytes=356/4887

dovecot: Feb 27 17:27:20 Info: IMAP(roka-05): Disconnected: Logged out
bytes=147/939

 

In Outlook Express:

 

dovecot: Feb 27 17:27:38 Info: imap-login: Login: user=<roka-05>,
method=PLAIN, rip=10.4.32.70, lip=10.4.32.235

dovecot: Feb 27 17:27:38 Info: IMAP(roka-05): Disconnected in IDLE
bytes=65/112

dovecot: Feb 27 17:27:38 Info: imap-login: Login: user=<roka-05>,
method=PLAIN, rip=10.4.32.70, lip=10.4.32.235

dovecot: Feb 27 17:27:38 Info: IMAP(roka-05): Disconnected in IDLE
bytes=259/1098

dovecot: Feb 27 17:27:44 Info: imap-login: Login: user=<roka-05>,
method=PLAIN, rip=10.4.32.70, lip=10.4.32.235

dovecot: Feb 27 17:27:51 Info: IMAP(roka-05): Disconnected: Logged out
bytes=1682/10349

 

Sort of the same thing: but more inconsistent. Sometimes I click five
folders and OE will have done 3 logins sometimes 2.

 

So new IMAP logins for (more or less) every click in Thunderbird and OE;
this is what auth_cache_size should solve right?

 

Am I applying the auth_cache_* variables wrong or is something else
wrong?

 

Cheers,

 

Jan



More information about the dovecot mailing list