[horde] Horde 4.0-BETA1: Error messages: "EMERG: HORDE Horde_Imap_Client requires a username and password. [pid 1400 on line 137 of "/usr/share/php/Horde/Imap/Client/Base.php"

Michael M Slusarz slusarz at horde.org
Thu Mar 24 18:58:21 UTC 2011

Quoting gimili <gimili17 at gmail.com>:

>>>> "2011-03-18T16:52:38-04:00 EMERG: HORDE [horde] Horde_Imap_Client  
>>>> requires a user name and password. [pid 1403 on line 137 of  
>>>> "/use/share/php/Horde/Imap/Client/Base.php"]
> I **think** I figured out what I was doing wrong.  I changed the  
> horde authentication from IMAP to "Let a horde application handle  
> authentication" and then I set "The application which is providing  
> authentication" to "imp".  This is different from what I used to do  
> in Horde3.
> My new /horde/config/conf.php which seems to work with errors in the log is:


> $conf['auth']['params']['app'] = 'imp';
> $conf['auth']['driver'] = 'application';

This looks correct.

> $conf['auth']['params']['hostspec'] = '';
> $conf['auth']['params']['port'] = 144;
> $conf['auth']['params']['secure'] = 'none';
> $conf['auth']['driver'] = 'imap';

This is also correct, and I verify that using this setup, along with  
hordeauth in imp, works fine with no errors thrown.

For the record: note that 'imap' is really not all that useful as a  
standalone authentication - people are going to want 'IMP'  
authentication 99.9% of the time if they use IMP since it will reuse  
the same IMAP connection for both authentication and the various IMAP  
calls used in imp.  If using 'imap' with hordeauth = 'true', 2  
separate IMAP connections will be created.


Michael Slusarz [slusarz at horde.org]

More information about the horde mailing list