[pkg-horde] Bug#383715: Can't login to imp4 with imap, although horde works fine.

Lorenzo Bettini bettini at dsi.unifi.it
Tue Oct 24 13:09:01 UTC 2006


It's a problem when you use IMP with uw-imapd, which does not seem to 
respect completely the RFC.

I found this on the wiki (which hasn't been responding for some 
days...): http://wiki.horde.org/ImpUWIMAPNamespaces?referrer=HowTo

the solution is to add these lines in your imap server configuration in 
servers.php (this solution is not supported by IMP though)


'imap_config' => array(
     'children' => false,
     'namespace' => array(
         'main/' => array(
             'name' => 'mail/',
             'delimiter' => '/',
             'type' => 'personal',
             'hidden' => false,
         ),
     ),
     'search_charset' => array(
         'UTF-8' => true
     )
)

this hack is also commented in the servers.php

  * imap_config: Manually set IMAP server configuration information. 
Please see
  *              http://wiki.horde.org/ImpImapConfig for information on this
  *              parameter.  THIS PARAMETER IS NOT OFFICIALLY SUPPORTED 
BY THE
  *              HORDE PROJECT.  This entry must be an array with the 
following
  *              elements:
  *              'children' - (boolean) Whether the IMAP server supports the
  *                           CHILDREN command.
  *              'namespace' - (array) The namespace configuration of the
  *                            server.  See the return from
  *                            IMAP_Client::namespace() (located in
  *                            imp/lib/IMAP/Client.php) for the structure of
  *                            this array.
  *              'search_charset' - (boolean) Whether the IMAP server 
supports
  *                                 charset selection during searches.


-- 
+-----------------------------------------------------+
| Lorenzo Bettini          ICQ# lbetto, 16080134      |
| PhD in Computer Science, DSI, Univ. di Firenze      |
| Florence - Italy        (GNU/Linux User # 158233)   |
| http://www.lorenzobettini.it                        |
| http://tronprog.blogspot.com  BLOG                  |
| http://www.purplesucker.com Deep Purple Cover Band  |
| http://www.gnu.org/software/src-highlite            |
| http://www.gnu.org/software/gengetopt               |
| http://www.lorenzobettini.it/software/gengen        |
| http://www.lorenzobettini.it/software/doublecpp     |
+-----------------------------------------------------+





More information about the pkg-horde-hackers mailing list