<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>_imp_hook_postlogin not called on every login</title> 
  <pubDate>Fri, 10 Apr 2026 13:09:32 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8255</link> 
  <atom:link rel="self" type="application/rss+xml" title="_imp_hook_postlogin not called on every login" href="https://bugs.horde.org/ticket/8255/rss" /> 
  <description>_imp_hook_postlogin not called on every login</description> 
 
   
   
  <item> 
   <title>when using horde with kolab auth (problem probably applies t</title> 
   <description>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&#039;s login.php redirects directly to the imp INBOX view. sometimes IMP says that the user is not yet authenticated and offers IMP&#039;s login.php screen in main frame. on a frame reload (main frame) IMP&#039;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&#039;&#039;. 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.</description> 
   <pubDate>Fri, 08 May 2009 07:34:10 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8255#t54051</link> 
  </item> 
   
  <item> 
   <title>&gt; FYI find also attached my hook to check for existence of c</title> 
   <description>&gt; FYI find also attached my hook to check for existence of certain 

&gt; default/fixed folders.



here is the code snippet for _imp_hook_postlogin auto creating default/fixed folders</description> 
   <pubDate>Fri, 08 May 2009 07:35:31 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8255#t54052</link> 
  </item> 
   
  <item> 
   <title>AFAIK the postlogin hook is only supposed to be used if Hord</title> 
   <description>AFAIK the postlogin hook is only supposed to be used if Horde authentication is done by IMP. Why don&#039;t you use Horde&#039;s postauthenticate hook instead?</description> 
   <pubDate>Tue, 12 May 2009 14:19:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8255#t54091</link> 
  </item> 
   
  <item> 
   <title>The postlogin hook is only designed to be called when IMP is</title> 
   <description>The postlogin hook is only designed to be called when IMP is responsible for logging the user in.  if you are authenticating via horde, the IMP login code isn&#039;t called.</description> 
   <pubDate>Mon, 18 May 2009 23:07:19 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8255#t54236</link> 
  </item> 
   
  <item> 
   <title>COOL SITE</title> 
   <description>COOL SITE</description> 
   <pubDate>Mon, 12 Apr 2010 11:07:48 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8255#t58447</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
