[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"

gimili gimili17 at gmail.com
Wed Mar 23 17:59:50 UTC 2011


On 23/03/2011 12:04 PM, Michael M Slusarz wrote:
> Quoting gimili <gimili17 at gmail.com>:
>
>> On 18/03/2011 9:04 AM, gimili wrote:
>>>  "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 upgraded to Horde 4.0-RC1 and Imp 5.0-RC1and the upgrades went 
>> smoothly.  Horde and imp are working perfectly but my horde log is 
>> still filling up with the above error.  Any suggestions would be 
>> appreciated.
> Are you trying to authenticate to IMP as a guest?  What is your horde 
> authentication configuration?  Does disabling hordeauth in IMP's 
> backend config help?
> michael
>

Thanks for the ideas Michael.  I don't think I am trying to authenticate 
as a guest.  I am logging in with a regular IMAP user account and I see 
the user's emails and can open them.  I changed 'hordeauth' => true, to 
'hordeauth' => false in /imp/config/backends.php.  Now it makes me login 
twice once in horde and once for imp.  I watch the log and the error 
starts before I even login to Imp.  Setup is very similar to my horde 3 
so I don't think I made a mistake.

2011-03-23T21:25:30-04:00 EMERG: HORDE [horde] Horde_Imap_Client 
requires a username and password. [pid 18012 on line 137 of 
"/usr/share/php/Horde/Imap/Client/Base.php"]
2011-03-23T21:25:30-04:00 EMERG: HORDE [horde] Horde_Imap_Client 
requires a username and password. [pid 18012 on line 137 of 
"/usr/share/php/Horde/Imap/Client/Base.php"]
2011-03-23T21:25:30-04:00 EMERG: HORDE [horde] Horde_Imap_Client 
requires a username and password. [pid 18011 on line 137 of 
"/usr/share/php/Horde/Imap/Client/Base.php"]
2011-03-23T21:25:30-04:00 EMERG: HORDE [horde] Horde_Imap_Client 
requires a username and password. [pid 18011 on line 137 of 
"/usr/share/php/Horde/Imap/Client/Base.php"]
2011-03-23T21:25:30-04:00 EMERG: HORDE [horde] Horde_Imap_Client 
requires a username and password. [pid 18013 on line 137 of 
"/usr/share/php/Horde/Imap/Client/Base.php"]

from horde/config/conf.php:
$conf['auth']['admins'] = array('Administrator');
$conf['auth']['checkip'] = true;
$conf['auth']['checkbrowser'] = true;
$conf['auth']['alternate_login'] = false;
$conf['auth']['redirect_on_logout'] = false;
$conf['auth']['list_users'] = 'list';
$conf['auth']['params']['hostspec'] = '192.168.10.16';
$conf['auth']['params']['port'] = 144;
$conf['auth']['params']['secure'] = 'none';
$conf['auth']['driver'] = 'imap';


/imp/config/backends.php:
$servers['imap'] = array(
     // ENABLED by default
     'disabled' => false,
     'name' => 'IMAP Server',
     'hostspec' => '192.168.10.16',
     'hordeauth' => true,
     'protocol' => 'imap',
     'port' => 144,
     // Plaintext logins are disabled by default on IMAP servers (see 
RFC 3501
     // [6.2.3])
     'secure' => 'false',
     'maildomain' => 'youvillecentre.org',
     'smtphost' => '',
     'smtpport' => 25,
     'cache' => true,
);

Thanks,

-- 

gimili



More information about the horde mailing list