[Tickets #8255] _imp_hook_postlogin not called on every login
bugs at horde.org
bugs at horde.org
Fri May 8 07:34:12 UTC 2009
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/8255
------------------------------------------------------------------------------
Ticket | 8255
Created By | m.gabriel at das-netzwerkteam.de
Summary | _imp_hook_postlogin not called on every login
Queue | IMP
Version | 4.3.4
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch | 1
Owners |
+New Attachment | 20090507_IMP_postlogin_workaround.patch
------------------------------------------------------------------------------
m.gabriel at das-netzwerkteam.de (2009-05-08 03:34) wrote:
when using horde with kolab auth (problem probably applies to other
auth methods), the used login screen is the horde login.php screen.
what i want:
o use _imp_hook_postlogin
o test for fixed folders, default folders (SPAM, Trash, etc.) and
if not exist, create them
while settings this up i made the experience, that _imp_hook_postlogin
is only very rarely called on login. my horde's login.php redirects
directly to the imp INBOX view. sometimes IMP says that the user is
not yet authenticated and offers IMP's login.php screen in main frame.
on a frame reload (main frame) IMP's login screen disappears and the
INBOX is shown. i suppose this issue is related to some sort of IMAP
timeout (that i can live with).
but: only when this detour on login takes place (every 10-20 logins)
the _imp_hook_postlogin function is called. this is not really reliable.
do work around this, i applied the attached patch ,,
20090507_IMP_postlogin_workaround.patch''. i am aware that
_imp_hook_postlogin now gets called on every IMP page load (i guess).
FYI find also attached my hook to check for existence of certain
default/fixed folders.
More information about the bugs
mailing list