[horde] Horde_Imap_Client_Exception after update

Anthony Messina amessina at messinet.com
Tue Feb 18 21:05:58 UTC 2014


On Wednesday, February 12, 2014 12:12:30 PM Michael M Slusarz wrote:
> Quoting Anthony Messina <amessina at messinet.com>:
> > On Wednesday, February 12, 2014 11:04:02 AM lst_hoe02 at kwsoft.de wrote:
> >> Hello,
> >> 
> >> after the latest (pear) updates we got the errors listed below in the
> >> logfile. It looks like horde-alarms has some problem to connect?
> >> 
> >> Feb 12 05:15:16 h2338808 HORDE: [imp] exception
> >> 'Horde_Imap_Client_Exception' with message 'Authentication failed.' in
> >> /usr/share/php/Horde/Imap/Client/Socket.php:4618
> >> Stack trace:
> >> #0 /usr/share/php/Horde/Imap/Client/Socket.php(4161):
> >> Horde_Imap_Client_Socket->_responseCode(Object(Horde_Imap_Client_Interact
> >> ion _Pipeline),   Object(Horde_Imap_Client_Interaction_Server_Tagged)) #1
> >> /usr/share/php/Horde/Imap/Client/Socket.php(3942):
> >> Horde_Imap_Client_Socket->_getLine(Object(Horde_Imap_Client_Interaction_P
> >> ipe line)) #2 /usr/share/php/Horde/Imap/Client/Socket.php(3870):
> >> Horde_Imap_Client_Socket->_sendCmdChunk(Object(Horde_Imap_Client_Interact
> >> ion _Pipeline),   Array)
> >> #3 /usr/share/php/Horde/Imap/Client/Socket.php(757):
> >> Horde_Imap_Client_Socket->_sendCmd(Object(Horde_Imap_Client_Interaction_P
> >> ipe line)) #4 /usr/share/php/Horde/Imap/Client/Socket.php(481):
> >> Horde_Imap_Client_Socket->_tryLogin('LOGIN')
> >> #5 /usr/share/php/Horde/Imap/Client/Base.php(794):
> >> Horde_Imap_Client_Socket->_login()
> >> #6 [internal function]: Horde_Imap_Client_Base->login()
> >> #7 /var/www/horde/imp/lib/Imap.php(568): call_user_func_array(Array,
> >> Array)
> >> #8 /var/www/horde/imp/lib/Auth.php(87): IMP_Imap->__call('login', Array)
> >> #9 /var/www/horde/imp/lib/Auth.php(87): IMP_Imap->login()
> >> #10 /var/www/horde/imp/lib/Auth.php(118): IMP_Auth::authenticate(Array)
> >> #11 /var/www/horde/imp/lib/Application.php(371):
> >> IMP_Auth::transparent(Object(Horde_Core_Auth_Application))
> >> #12 [internal function]:
> >> IMP_Application->authTransparent(Object(Horde_Core_Auth_Application))
> >> #13 /usr/share/php/Horde/Registry.php(1213):
> >> call_user_func_array(Array, Array)
> >> #14 /usr/share/php/Horde/Core/Auth/Application.php(366):
> >> Horde_Registry->callAppMethod('imp', 'authTransparent', Array)
> >> #15 /usr/share/php/Horde/Registry.php(2203):
> >> Horde_Core_Auth_Application->transparent()
> >> #16 /usr/share/php/Horde/Registry.php(1704):
> >> Horde_Registry->isAuthenticated(Array)
> >> #17 /usr/share/php/Horde/Registry.php(936):
> >> Horde_Registry->hasPermission('imp', 4)
> >> #18 /usr/share/php/Horde/Core/Factory/Alarm.php(130):
> >> Horde_Registry->listApps(NULL, false, 4)
> >> #19 [internal function]: Horde_Core_Factory_Alarm->load(NULL, false)
> >> #20 /usr/share/php/Horde/Alarm.php(100): call_user_func(Array, NULL,
> >> false)
> >> #21 /usr/share/php/Horde/Alarm.php(404): Horde_Alarm->listAlarms(NULL,
> >> NULL, true, false)
> >> #22 /usr/bin/horde-alarms(25): Horde_Alarm->notify(NULL, true, false,
> >> Array) #23 {main} [pid 8754 on line 570 of
> >> "/var/www/horde/imp/lib/Imap.php"]
> >> 
> >> Any idea how to fix this?
> >> 
> >> Regards
> >> 
> >> Andreas
> > 
> > I see the same issue.  It looks like additional logging was enabled in
> > https://github.com/horde/horde/commit/f9356c42fcf8c29d8882a3c3a107bd5844c4
> > 6746
> Does this fix?
> 
> https://github.com/horde/horde/commit/e71d7f955025a5a3742c94bc297db5f8ab9683
> d1
> 
> michael

Horde_Imap_Client 2.18.2 resolves the traceback in the log.

However the issue of Horde logging in to IMP via horde-alarms persists.  I 
have tried setting permissions on IMP to effectively deny permission to the 
'first administrative user' but horde-alarms still tries to login to IMP, 
creating the login failure in the Cyrus-IMAP/Saslauthd logs.

-A

-- 
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E



More information about the horde mailing list