<?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>webdav and _username_hook_[from|to]backend</title> 
  <pubDate>Fri, 10 Apr 2026 13:16:52 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8385</link> 
  <atom:link rel="self" type="application/rss+xml" title="webdav and _username_hook_[from|to]backend" href="https://bugs.horde.org/ticket/8385/rss" /> 
  <description>webdav and _username_hook_[from|to]backend</description> 
 
   
   
  <item> 
   <title>When using the _username_hook_[from|to]backend hooks for add</title> 
   <description>When using the _username_hook_[from|to]backend hooks for adding and removing a realm it seems that the _username_hook_tobackend() hook gets not called in all situations when it should. This ends up in getting added the realm twice.



This is when trying to access the calender via webdav:

https://myserver/horde/rpc.php/testuser@vrealm/testuser@vrealm.ics?server=vrealm



(As work around I check in the _username_hook_frombackend() hook if the realm is already attached, but I think that&#039;s not the correct fix for this issue)



Here are the debug logs:

Jun 27 16:23:18 HORDE [debug] [horde] Connected to the following memcache servers:xxx.xxx.xxx.xxx:11211, xxx.xxx.xxx.xxx:11211, xxx.xxx.xxx.xxx:11211, xxx.xxx.xxx.xxx:11211 [pid 18456 on line 127 of &quot;/usr/local/lib/php_horde3/Horde/Memcache.php&quot;]                  

Jun 27 16:23:18 HORDE [debug] [horde] Read session data (id = b0nh4kmoe5nccain26inra5c81) [pid 18456 on line 184 of &quot;/usr/local/lib/php_horde3/Horde/SessionHandler/memcache.php&quot;]                                                                          

Jun 27 16:23:18 HORDE [debug] [] fullname hook called [pid 18456 on line 130 of &quot;/usr/local/apache/htdocs/horde3/horde/config/hooks.php&quot;]                                                                                                                   

Jun 27 16:23:18 HORDE [debug] [] from_addr hook called [pid 18456 on line 54 of &quot;/usr/local/apache/htdocs/horde3/horde/config/hooks.php&quot;]                                                                                                                   

Jun 27 16:23:18 HORDE [debug] [horde] fullname hook called [pid 18456 on line 130 of &quot;/usr/local/apache/htdocs/horde3/horde/config/hooks.php&quot;]                                                                                                              

Jun 27 16:23:18 HORDE [debug] [horde] from_addr hook called [pid 18456 on line 54 of &quot;/usr/local/apache/htdocs/horde3/horde/config/hooks.php&quot;]                                                                                                              

Jun 27 16:23:18 HORDE [debug] [horde] fullname hook called [pid 18456 on line 130 of &quot;/usr/local/apache/htdocs/horde3/horde/config/hooks.php&quot;]                                                                                                              

Jun 27 16:23:18 HORDE [debug] [horde] from_addr hook called [pid 18456 on line 54 of &quot;/usr/local/apache/htdocs/horde3/horde/config/hooks.php&quot;]                                                                                                              

Jun 27 16:23:18 HORDE [debug] [horde] Max memory usage: 1048576 bytes [pid 18456 on line 339 of &quot;/usr/local/lib/php_horde3/Horde/Registry.php&quot;]                                                                                                             

Jun 27 16:23:18 HORDE [debug] [horde] Session data unchanged (id = b0nh4kmoe5nccain26inra5c81) [pid 18456 on line 253 of &quot;/usr/local/lib/php_horde3/Horde/SessionHandler.php&quot;]                                                                              

Jun 27 16:26:20 HORDE [debug] [horde] Connected to the following memcache servers:xxx.xxx.xxx.xxx:11211, xxx.xxx.xxx.xxx:11211, xxx.xxx.xxx.xxx:11211, xxx.xxx.xxx.xxx:11211 [pid 18456 on line 127 of &quot;/usr/local/lib/php_horde3/Horde/Memcache.php&quot;]                  

Jun 27 16:26:20 HORDE [debug] [horde] Error retrieving session data (id = m83e4hanv7mj7e04afq7jg3ol3) [pid 18456 on line 174 of &quot;/usr/local/lib/php_horde3/Horde/SessionHandler/memcache.php&quot;]                                                              

Jun 27 16:26:20 HORDE [debug] [] fullname hook called [pid 18456 on line 130 of &quot;/usr/local/apache/htdocs/horde3/horde/config/hooks.php&quot;]                                                                                                                   

Jun 27 16:26:20 HORDE [debug] [] from_addr hook called [pid 18456 on line 54 of &quot;/usr/local/apache/htdocs/horde3/horde/config/hooks.php&quot;]                                                                                                                   

Jun 27 16:26:20 HORDE [debug] [horde] fullname hook called [pid 18456 on line 130 of &quot;/usr/local/apache/htdocs/horde3/horde/config/hooks.php&quot;]                                                                                                              

Jun 27 16:26:20 HORDE [debug] [horde] from_addr hook called [pid 18456 on line 54 of &quot;/usr/local/apache/htdocs/horde3/horde/config/hooks.php&quot;]                                                                                                              

Jun 27 16:26:20 HORDE [debug] [horde] fullname hook called [pid 18456 on line 130 of &quot;/usr/local/apache/htdocs/horde3/horde/config/hooks.php&quot;]                                                                                                              

Jun 27 16:26:20 HORDE [debug] [horde] from_addr hook called [pid 18456 on line 54 of &quot;/usr/local/apache/htdocs/horde3/horde/config/hooks.php&quot;]                                                                                                              

Jun 27 16:26:20 HORDE [debug] [horde] Max memory usage: 1048576 bytes [pid 18456 on line 339 of &quot;/usr/local/lib/php_horde3/Horde/Registry.php&quot;]                                                                                                             

Jun 27 16:26:21 HORDE [debug] [horde] Wrote session data (id = m83e4hanv7mj7e04afq7jg3ol3) [pid 18456 on line 232 of &quot;/usr/local/lib/php_horde3/Horde/SessionHandler/memcache.php&quot;]                                                                         

Jun 27 16:26:28 HORDE [debug] [horde] Connected to the following memcache servers:xxx.xxx.xxx.xxx:11211, xxx.xxx.xxx.xxx:11211, xxx.xxx.xxx.xxx:11211, xxx.xxx.xxx.xxx:11211 [pid 18644 on line 127 of &quot;/usr/local/lib/php_horde3/Horde/Memcache.php&quot;]                  

Jun 27 16:26:28 HORDE [debug] [horde] Error retrieving session data (id = 9mpglfvb8e0v984qt923aqkga5) [pid 18644 on line 174 of &quot;/usr/local/lib/php_horde3/Horde/SessionHandler/memcache.php&quot;]                                                              

Jun 27 16:26:28 HORDE [debug] [] fullname hook called [pid 18644 on line 130 of &quot;/usr/local/apache/htdocs/horde3/horde/config/hooks.php&quot;]                                                                                                                   

Jun 27 16:26:28 HORDE [debug] [] from_addr hook called [pid 18644 on line 54 of &quot;/usr/local/apache/htdocs/horde3/horde/config/hooks.php&quot;]                                                                                                                   

Jun 27 16:26:28 HORDE [debug] [horde] fullname hook called [pid 18644 on line 130 of &quot;/usr/local/apache/htdocs/horde3/horde/config/hooks.php&quot;]                                                                                                              

Jun 27 16:26:28 HORDE [debug] [horde] from_addr hook called [pid 18644 on line 54 of &quot;/usr/local/apache/htdocs/horde3/horde/config/hooks.php&quot;]                                                                                                              

Jun 27 16:26:28 HORDE [debug] [imp] _username_hook_frombackend called for user &quot;testuser - adding &quot;mbox&quot; [pid 18644 on line 278 of &quot;/usr/local/apache/htdocs/horde3/horde/config/hooks.php&quot;]                                                                 

Jun 27 16:26:28 HORDE [debug] [imp] fullname hook called [pid 18644 on line 130 of &quot;/usr/local/apache/htdocs/horde3/horde/config/hooks.php&quot;]                                                                                                                

Jun 27 16:26:28 HORDE [debug] [imp] from_addr hook called [pid 18644 on line 54 of &quot;/usr/local/apache/htdocs/horde3/horde/config/hooks.php&quot;]                                                                                                                

Jun 27 16:26:28 HORDE [debug] [imp] SQL Query by Prefs_sql::retrieve(): SELECT pref_scope, pref_name, pref_value FROM horde_prefs WHERE pref_uid = ? AND pref_scope = ?, values: testuser@vrealm, horde [pid 18644 on line 148 of &quot;/usr/local/lib/php_horde3/Horde/Prefs/sql.php&quot;]                                                                                                           

Jun 27 16:26:28 HORDE [debug] [imp] SQL Query by Prefs_sql::retrieve(): SELECT pref_scope, pref_name, pref_value FROM horde_prefs WHERE pref_uid = ? AND pref_scope = ?, values: testuser@vrealm, imp [pid 18644 on line 148 of &quot;/usr/local/lib/php_horde3/Horde/Prefs/sql.php&quot;]                                                                                                             

Jun 27 16:26:29 HORDE [debug] [imp] Hook _prefs_change_hook_last_login in application horde not called. [pid 18644 on line 1688 of &quot;/usr/local/lib/php_horde3/Horde.php&quot;]                                                                                   

Jun 27 16:26:29 HORDE [debug] [imp] SQL Query by Prefs_sql::retrieve(): SELECT pref_scope, pref_name, pref_value FROM horde_prefs WHERE pref_uid = ? AND pref_scope = ?, values: testuser@vrealm, ingo [pid 18644 on line 148 of &quot;/usr/local/lib/php_horde3/Horde/Prefs/sql.php&quot;]                                                                                                            

Jun 27 16:26:30 HORDE [notice] [imp] Login success for testuser [84.115.176.156] to {xxx.xxx.xxx.xxx:1430 [imap/notls]} [pid 18644 on line 307 of &quot;/usr/local/apache/htdocs/horde3/horde/imp/lib/Session.php&quot;]                                                  

Jun 27 16:26:30 HORDE [debug] [horde] _username_hook_frombackend called for user &quot;testuser@vrealm - adding &quot;mbox&quot; [pid 18644 on line 278 of &quot;/usr/local/apache/htdocs/horde3/horde/config/hooks.php&quot;]                                                          

Jun 27 16:26:30 HORDE [debug] [horde] fullname hook called [pid 18644 on line 130 of &quot;/usr/local/apache/htdocs/horde3/horde/config/hooks.php&quot;]                                                                                                              

Jun 27 16:26:30 HORDE [debug] [horde] from_addr hook called [pid 18644 on line 54 of &quot;/usr/local/apache/htdocs/horde3/horde/config/hooks.php&quot;]                                                                                                              

Jun 27 16:26:30 HORDE [debug] [horde] SQL Query by Prefs_sql::retrieve(): SELECT pref_scope, pref_name, pref_value FROM horde_prefs WHERE pref_uid = ? AND pref_scope = ?, values: testuser@vrealm@vrealm, horde [pid 18644 on line 148 of &quot;/usr/local/lib/php_horde3/Horde/Prefs/sql.php&quot;]                                                                                                    

Jun 27 16:26:30 HORDE [debug] [horde] fullname hook called [pid 18644 on line 130 of &quot;/usr/local/apache/htdocs/horde3/horde/config/hooks.php&quot;]                                                                                                              

Jun 27 16:26:30 HORDE [debug] [horde] from_addr hook called [pid 18644 on line 54 of &quot;/usr/local/apache/htdocs/horde3/horde/config/hooks.php&quot;]                                                                                                              

Jun 27 16:26:30 HORDE [debug] [horde] Hook _prefs_change_hook_last_login in application horde not called. [pid 18644 on line 1688 of &quot;/usr/local/lib/php_horde3/Horde.php&quot;]                                                                                 

Jun 27 16:26:30 HORDE [debug] [horde] SQL Query by Prefs_sql::retrieve(): SELECT pref_scope, pref_name, pref_value FROM horde_prefs WHERE pref_uid = ? AND pref_scope = ?, values: testuser@vrealm@vrealm, kronolith [pid 18644 on line 148 of &quot;/usr/local/lib/php_horde3/Horde/Prefs/sql.php&quot;]                                                                                                

Jun 27 16:26:30 HORDE [debug] [kronolith] Hook _horde_hook_share_init in application horde not called. [pid 18644 on line 1688 of &quot;/usr/local/lib/php_horde3/Horde.php&quot;]                                                                                    

Jun 27 16:26:31 HORDE [debug] [kronolith] SQL Query by Prefs_sql::retrieve(): SELECT pref_scope, pref_name, pref_value FROM horde_prefs WHERE pref_uid = ? AND pref_scope = ?, values: testuser@vrealm@vrealm, turba [pid 18644 on line 148 of &quot;/usr/local/lib/php_horde3/Horde/Prefs/sql.php&quot;]

Jun 27 16:26:31 HORDE [debug] [kronolith] SQL Query by Prefs_sql::retrieve(): SELECT pref_scope, pref_name, pref_value FROM horde_prefs WHERE pref_uid = ? AND pref_scope = ?, values: testuser@vrealm@vrealm, nag [pid 18644 on line 148 of &quot;/usr/local/lib/php_horde3/Horde/Prefs/sql.php&quot;]

Jun 27 16:26:31 HORDE [debug] [nag] Hook _horde_hook_share_init in application horde not called. [pid 18644 on line 1688 of &quot;/usr/local/lib/php_horde3/Horde.php&quot;]

Jun 27 16:26:31 HORDE [debug] [horde] Max memory usage: 11272192 bytes [pid 18644 on line 339 of &quot;/usr/local/lib/php_horde3/Horde/Registry.php&quot;]

Jun 27 16:26:31 HORDE [debug] [horde] SQL Query by Prefs_sql::store(): SELECT 1 FROM horde_prefs WHERE pref_uid = ? AND pref_name = ? AND pref_scope = ?, values: testuser@vrealm, last_login, imp [pid 18644 on line 210 of &quot;/usr/local/lib/php_horde3/Horde/Prefs/sql.php&quot;]

Jun 27 16:26:31 HORDE [debug] [horde] SQL Query by Prefs_sql::store(): UPDATE horde_prefs SET pref_value = ? WHERE pref_uid = ? AND pref_name = ? AND pref_scope = ?, values: a:2:{s:4:&quot;time&quot;;i:1246112789;s:4:&quot;host&quot;;s:33:&quot;chello084115176156.graz.surfer.at&quot;;}, testuser@vrealm, last_login, imp [pid 18644 on line 244 of &quot;/usr/local/lib/php_horde3/Horde/Prefs/sql.php&quot;]

Jun 27 16:26:31 HORDE [debug] [horde] SQL Query by Prefs_sql::store(): SELECT 1 FROM horde_prefs WHERE pref_uid = ? AND pref_name = ? AND pref_scope = ?, values: testuser@vrealm@vrealm, fullname, horde [pid 18644 on line 210 of &quot;/usr/local/lib/php_horde3/Horde/Prefs/sql.php&quot;]

Jun 27 16:26:31 HORDE [debug] [horde] SQL Query by Prefs_sql::store(): UPDATE horde_prefs SET pref_value = ? WHERE pref_uid = ? AND pref_name = ? AND pref_scope = ?, values: , testuser@vrealm@vrealm, fullname, horde [pid 18644 on line 244 of &quot;/usr/local/lib/php_horde3/Horde/Prefs/sql.php&quot;]

Jun 27 16:26:31 HORDE [debug] [horde] SQL Query by Prefs_sql::store(): SELECT 1 FROM horde_prefs WHERE pref_uid = ? AND pref_name = ? AND pref_scope = ?, values: testuser@vrealm@vrealm, from_addr, horde [pid 18644 on line 210 of &quot;/usr/local/lib/php_horde3/Horde/Prefs/sql.php&quot;]

Jun 27 16:26:31 HORDE [debug] [horde] SQL Query by Prefs_sql::store(): UPDATE horde_prefs SET pref_value = ? WHERE pref_uid = ? AND pref_name = ? AND pref_scope = ?, values: , testuser@vrealm@vrealm, from_addr, horde [pid 18644 on line 244 of &quot;/usr/local/lib/php_horde3/Horde/Prefs/sql.php&quot;]

Jun 27 16:26:31 HORDE [debug] [horde] SQL Query by Prefs_sql::store(): SELECT 1 FROM horde_prefs WHERE pref_uid = ? AND pref_name = ? AND pref_scope = ?, values: testuser@vrealm@vrealm, last_login, horde [pid 18644 on line 210 of &quot;/usr/local/lib/php_horde3/Horde/Prefs/sql.php&quot;]

Jun 27 16:26:31 HORDE [debug] [horde] SQL Query by Prefs_sql::store(): UPDATE horde_prefs SET pref_value = ? WHERE pref_uid = ? AND pref_name = ? AND pref_scope = ?, values: a:2:{s:4:&quot;time&quot;;i:1246112790;s:4:&quot;host&quot;;s:33:&quot;chello084115176156.graz.surfer.at&quot;;}, testuser@vrealm@vrealm, last_login, horde [pid 18644 on line 244 of &quot;/usr/local/lib/php_horde3/Horde/Prefs/sql.php&quot;]

Jun 27 16:26:32 HORDE [debug] [horde] Wrote session data (id = 9mpglfvb8e0v984qt923aqkga5) [pid 18644 on line 232 of &quot;/usr/local/lib/php_horde3/Horde/SessionHandler/memcache.php&quot;]

 </description> 
   <pubDate>Sat, 27 Jun 2009 16:26:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8385#t54700</link> 
  </item> 
   
  <item> 
   <title>Ping?



and I noticed:

https://myserver/horde/rpc.php/test</title> 
   <description>Ping?



and I noticed:

https://myserver/horde/rpc.php/testuser@vrealm/testuser@vrealm.ics?server=vrealm

should of course read as:

https://myserver/horde/rpc.php/kronolith/testuser@vrealm/testuser@vrealm.ics?server=vrealm

</description> 
   <pubDate>Fri, 14 Aug 2009 08:25:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8385#t55308</link> 
  </item> 
   
  <item> 
   <title>And you don&#039;t have an additional vinfo hook running? Or try </title> 
   <description>And you don&#039;t have an additional vinfo hook running? Or try authenticating at the RPC url with the full username (including realm)? Or have a realm setting in imp/config/servers.php?

I only see a single frombackend hook call per request, so the realm must have been added before.</description> 
   <pubDate>Thu, 20 Aug 2009 16:27:35 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8385#t55484</link> 
  </item> 
   
  <item> 
   <title>Ping?</title> 
   <description>Ping?</description> 
   <pubDate>Tue, 01 Sep 2009 11:10:32 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8385#t55632</link> 
  </item> 
   
  <item> 
   <title>Sorry, vacations....



I&#039;m using the following hooks:

_pre</title> 
   <description>Sorry, vacations....



I&#039;m using the following hooks:

_prefs_hook_from_addr

_prefs_hook_fullname

_imp_hook_spam_bounce

_username_hook_frombackend

_username_hook_tobackend



The url is:

https://myserver/horde/rpc.php/kronolith/testuser@vrealm/testuser@vrealm.ics?server=vrealm 



There is no realm set in imp/config/servers.php



Unfortunately I can&#039;t verify this right now, because since a full Horde cvs update yesterday the apache on my testsystem is segfaulting when trying to login to Horde.

</description> 
   <pubDate>Tue, 08 Sep 2009 13:55:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8385#t55702</link> 
  </item> 
   
  <item> 
   <title>...now I also found the changes in Horde that cause apache t</title> 
   <description>...now I also found the changes in Horde that cause apache to segfault:

See bug #8496 I got the same problem as bhalsema (at) purdue (dot) edu

</description> 
   <pubDate>Fri, 11 Sep 2009 09:29:32 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8385#t55732</link> 
  </item> 
   
  <item> 
   <title>&gt; ...now I also found the changes in Horde that cause apache</title> 
   <description>&gt; ...now I also found the changes in Horde that cause apache to segfault:

&gt; See bug #8496 I got the same problem as bhalsema (at) purdue (dot) edu

&gt;



I noticed that when I remove the putenv() call on line 91 from framework/Horde/Horde.php then there is no segfault. Any putenv() call there (e.g. putenv(&#039;Test=1&#039;)) would cause a segfault. Unfortunately I do not know how to track this further down...</description> 
   <pubDate>Fri, 11 Sep 2009 10:53:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8385#t55733</link> 
  </item> 
   
  <item> 
   <title>&gt; Unfortunately I do not know how to track this further down</title> 
   <description>&gt; Unfortunately I do not know how to track this further down...



http://bugs.php.net/bugs-generating-backtrace.php</description> 
   <pubDate>Fri, 11 Sep 2009 10:58:41 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8385#t55734</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Unfortunately I do not know how to track this further dow</title> 
   <description>&gt;&gt; Unfortunately I do not know how to track this further down...

&gt;

&gt; http://bugs.php.net/bugs-generating-backtrace.php



..well I&#039;m in trouble getting a core file, I have to check that.

But for now I just removed the TZ relevant parts from Horde.php so that I can at least go on with the original problem of this ticket.



I double checked everything, but still the _username_hook_frombackend() hook gets called again on a already &quot;realmed&quot; username:



Here is the code for the username hooks that I&#039;m using:



if (!function_exists(&#039;_username_hook_frombackend&#039;)) {

     function _username_hook_frombackend($userID)

     {

         $servers = Horde::loadConfiguration(&#039;servers.php&#039;, &#039;servers&#039;, &#039;imp&#039;);

         $server_key = null;

         $vrealm = null;

         foreach ($servers as $key =&gt; $val) {

            if($servers[$key][&#039;server&#039;] == $_SESSION[&#039;imp&#039;][&#039;server&#039;]) {

                $vrealm = &#039;@&#039; . $key;

            }

         }

         if(empty($vrealm)) {

            $vrealm = &#039;@&#039; . Util::getFormData(&#039;server_key&#039;);

         }

         if (substr($userID, -strlen($vrealm)) == $vrealm) {

            $log_msg = &#039;_username_hook_frombackend called for user &quot;&#039; . $userID . &#039; - not modifying &quot;&#039;;

         } else {

            $log_msg = &#039;_username_hook_frombackend called for user &quot;&#039; . $userID . &#039; - adding &quot;&#039; . $vrealm . &#039;&quot;&#039;;

            $userID = $userID . $vrealm;

         }

         Horde::logMessage($log_msg, __FILE__, __LINE__, PEAR_LOG_DEBUG);

         return $userID;

     }

}



if (!function_exists(&#039;_username_hook_tobackend&#039;)) {

     function _username_hook_tobackend($userID)

     {

         $fullusername = split(&#039;@&#039;, $userID);

         $log_msg = &#039;_username_hook_tobackend called for user &quot;&#039; . $userID . &#039; - removing &quot;&#039; . $fullusername[1] . &#039;&quot;&#039;;

         Horde::logMessage($log_msg, __FILE__, __LINE__, PEAR_LOG_DEBUG);

         return $fullusername[0];

     }

}



In this code there is a workaround that prevents the addition of the realm if it is already added, but still that&#039;s just a workaround.



As client I&#039;m using Thunderbird/Lighting 0.9

The calendar URL is: https://myserver/horde/rpc.php/kronolith/myuser@vrealm/myuser@vrealm.ics?server=vrealm



On authentication prompt I enter:

Username: myuser

Password: mypassword



Hooks settings in horde/conf.php

$conf[&#039;hooks&#039;][&#039;permsdenied&#039;] = false;

$conf[&#039;hooks&#039;][&#039;username&#039;] = true;

$conf[&#039;hooks&#039;][&#039;preauthenticate&#039;] = false;

$conf[&#039;hooks&#039;][&#039;postauthenticate&#039;] = false;

$conf[&#039;hooks&#039;][&#039;authldap&#039;] = false;

$conf[&#039;hooks&#039;][&#039;groupldap&#039;] = false;



Hooks settings in horde/imp/conf.php

$conf[&#039;hooks&#039;][&#039;vinfo&#039;] = false;

$conf[&#039;hooks&#039;][&#039;postlogin&#039;] = false;

$conf[&#039;hooks&#039;][&#039;postsent&#039;] = false;

$conf[&#039;hooks&#039;][&#039;signature&#039;] = false;

$conf[&#039;hooks&#039;][&#039;trailer&#039;] = false;

$conf[&#039;hooks&#039;][&#039;fetchmail_filter&#039;] = false;

$conf[&#039;hooks&#039;][&#039;mbox_redirect&#039;] = false;

$conf[&#039;hooks&#039;][&#039;mbox_icon&#039;] = false;

$conf[&#039;hooks&#039;][&#039;spam_bounce&#039;] = true;

$conf[&#039;hooks&#039;][&#039;msglist_format&#039;] = false;

$conf[&#039;hooks&#039;][&#039;display_folder&#039;] = false;



Server settings in horde/imp/servers.php

[...]

$servers[&#039;vrealm&#039;] = array(

    &#039;name&#039; =&gt; &#039;Vrealm desc&#039;,

    &#039;server&#039; =&gt; &#039;12.10.10.35&#039;,

    &#039;hordeauth&#039; =&gt; false,

    &#039;protocol&#039; =&gt; &#039;imap/notls&#039;,

    &#039;port&#039; =&gt; 1430,

    &#039;maildomain&#039; =&gt; &#039;mydomain&#039;,

    &#039;smtphost&#039; =&gt; &#039;mmysmtphost&#039;,

    &#039;smtpport&#039; =&gt; 25,

    &#039;realm&#039; =&gt; &#039;&#039;,

    &#039;preferred&#039; =&gt; &#039;&#039;,

    &#039;admin&#039; =&gt; array(

        &#039;params&#039; =&gt; array(

            &#039;login&#039; =&gt; &#039;myadmin&#039;,

            &#039;password&#039; =&gt; &#039;mypwd&#039;,

            // The &#039;userhierarchy&#039; parameter defaults to &#039;user.&#039;

            // If you are using a nonstandard hierarchy for personal

            // mailboxes, you will need to set it here.

            &#039;userhierarchy&#039; =&gt; &#039;user.&#039;,

            // Although these defaults are normally all that is required,

            // you can modify the following parameters from their default

            // values.

            &#039;protocol&#039; =&gt; &#039;imap/notls&#039;,

            &#039;hostspec&#039; =&gt; &#039;12.10.10.35&#039;,

            &#039;port&#039; =&gt; 1430

        )

    ),

    &#039;quota&#039; =&gt; array(

        &#039;driver&#039; =&gt; &#039;imap&#039;,

        &#039;params&#039; =&gt; array(&#039;hide_quota_when_unlimited&#039; =&gt; true),

    ),

    &#039;acl&#039; =&gt; array(

        &#039;driver&#039; =&gt; &#039;rfc2086&#039;,

    ),

);

[...]



attached is a horde debug log with all the entries I get when I connect with Lightning.



If there is more information you need please let me know.</description> 
   <pubDate>Fri, 11 Sep 2009 11:50:10 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8385#t55735</link> 
  </item> 
   
  <item> 
   <title>attachment</title> 
   <description>attachment</description> 
   <pubDate>Fri, 11 Sep 2009 11:50:43 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8385#t55736</link> 
  </item> 
   
  <item> 
   <title>Any idea?

</title> 
   <description>Any idea?

</description> 
   <pubDate>Wed, 28 Oct 2009 21:10:42 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8385#t56463</link> 
  </item> 
   
  <item> 
   <title>Should be solved in Horde 4.</title> 
   <description>Should be solved in Horde 4.</description> 
   <pubDate>Fri, 01 Jul 2011 20:41:00 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8385#t66099</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
