[horde] IMAP connection initiated for every click in the user interface
Michael M Slusarz
slusarz at horde.org
Wed May 8 22:55:47 UTC 2013
Quoting Luis Felipe Marzagao <lfbm.andamentos at gmail.com>:
> Em 08-05-2013 13:47, Michael M Slusarz escreveu:
>> Quoting Luis Felipe Marzagao <lfbm.andamentos at gmail.com>:
>>
>>> We have IMP as auth application and dovecot as IMAP server.
>>>
>>> A few clicks on the browser generates tons of login and disconnect
>>> entries in my log files, like these:
>>>
>>> May 7 20:49:22 mserver dovecot: imap(lfbm): Disconnected: Logged
>>> out bytes=1546/1026
>>> May 7 20:49:22 mserver dovecot: imap-login: Login: user=<lfbm>,
>>> method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=8369, TLS
>>>
>>> and so on...
>>>
>>> So I guess my IMAP server is being pinged on every page load and,
>>> thus, I'm not caching IMAP auth results.
>>
>> ...or you are using IMP. For obvious reasons, IMP needs to connect
>> to an IMAP server to be useful.
>>
>
>
> Okay, but the IMAP server being queried on every single click on any
> link on horde (and not just on IMP's links) indicates horde does not
> cache any authentication result at all.
No it doesn't.
I can verify that the IMAP server is ONLY pinged when the IMAP server
is needed. It has nothing to do with authentication. Horde
authenticates once to the IMAP server per session.
If you are seeing IMAP connections when browsing to something other
than IMP, than you almost certainly have new mail notification turned
on.
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the horde
mailing list