[imp] login failed (admin/admin) imap works

Alberto Ayala aayala at corp.acesse.com
Tue Jun 11 22:00:31 UTC 2013


Hello horde community I need some help to setup a horde webmail application.

I was able to login in the first time using admin / admin but was not very
useful without a domain to test the funcionality
I just finish installed bind9 and courier-imap to have a "fake" maildomain
to use with horde

This is the files I have: (using log debug in syslog in config/conf.php):

Jun 11 14:39:45 ubuntu imapd: Connection, ip=[::ffff:127.0.0.1]
Jun 11 14:39:45 ubuntu HORDE: [imp] Server does not support TLS
connections. [pid 15252 on line 571 of
"/usr/share/php/www/horde/imp/lib/Imap.php"]
Jun 11 14:39:45 ubuntu HORDE:  1.
Horde_Core_Auth_Application->authenticate()
/usr/share/php/www/horde/login.php:169#012 2.
Horde_Core_Auth_Application->authenticate()
/usr/share/php/Horde/Core/Auth/Application.php:126#012 3.
Horde_Auth_Base->authenticate()
/usr/share/php/Horde/Core/Auth/Application.php:129#012 4.
Horde_Core_Auth_Application->_authenticate()
/usr/share/php/Horde/Auth/Base.php:160#012 5.
Horde_Registry->callAppMethod()
/usr/share/php/Horde/Core/Auth/Application.php:158#012 6.
call_user_func_array() /usr/share/php/Horde/Registry.php:1156#012 7.
IMP_Application->authAuthenticate()#012 8. IMP_Auth::authenticate()
/usr/share/php/www/horde/imp/lib/Application.php:356#012 9.
IMP_Imap->login() /usr/share/php/www/horde/imp/lib/Auth.php:87#01210.
IMP_Imap->__call() /usr/share/php/www/horde/imp/lib/Auth.php:87#01211.
Horde_Core_Auth_Application->authenticate()
/usr/share/php/www/horde/login.php:169#01212.
Horde_Core_Auth_Application->authenticate()
/usr/share/php/Horde/Core/Auth/Application.php:126#01213.
Horde_Auth_Base->authenticate()
/usr/share/php/Horde/Core/Auth/Application.php:129#01214.
Horde_Core_Auth_Application->_authenticate()
/usr/share/php/Horde/Auth/Base.php:160#01215.
Horde_Registry->callAppMethod()
/usr/share/php/Horde/Core/Auth/Application.php:158#01216.
call_user_func_array() /usr/share/php/Horde/Registry.php:1156#01217.
IMP_Application->authAuthenticate()#01218. IMP_Auth::authenticate()
/usr/share/php/www/horde/imp/lib/Application.php:356#01219.
IMP_Imap->login() /usr/share/php/www/horde/imp/lib/Auth.php:87#01220.
IMP_Imap->__call() /usr/share/php/www/horde/imp/lib/Auth.php:87#01221.
call_user_func_array() /usr/share/php/www/horde/imp/lib/Imap.php:569#01222.
Horde_Imap_Client_Base->login()#01223. Horde_Imap_Client_Socket->_login()
/usr/share/php/Horde/Imap/Client/Base.php:764
Jun 11 14:39:45 ubuntu HORDE: [horde] FAILED LOGIN for admin [192.168.1.4]
to Horde [pid 15252 on line 199 of "/usr/share/php/www/horde/login.php"]
Jun 11 14:39:45 ubuntu HORDE: [horde] Load config file (nls.php; app:
horde) [pid 15252 on line 401 of "/usr/share/php/Horde.php"]
Jun 11 14:39:45 ubuntu HORDE: [horde] Login failed. [pid 15252 on line 27
of "/usr/share/php/Horde/Core/Notification/Handler/Decorator/Hordelog.php"]
Jun 11 14:39:45 ubuntu HORDE: [horde] SQL  (0.0005s)  #012#011SELECT
alarm_id, alarm_uid, alarm_start, alarm_end, alarm_methods,#012#011
 alarm_params, alarm_title, alarm_text, alarm_snooze,
alarm_internal#012#011  FROM horde_alarms WHERE alarm_dismissed = 0 AND
((alarm_snooze IS NULL#012#011  AND alarm_start <= '2013-06-11T21:39:45')
OR alarm_snooze <=#012#011  '2013-06-11T21:39:45') AND (alarm_end IS NULL
OR alarm_end >=#012#011  '2013-06-11T21:39:45') AND (alarm_uid IS NULL OR
alarm_uid = '' OR#012#011  alarm_uid = '') ORDER BY alarm_start, alarm_end
[pid 15252 on line 319 of "/usr/share/php/Horde/Db/Adapter/Mysqli.php"]
Jun 11 14:39:45 ubuntu HORDE: [horde] Load config file (motd.php; app:
horde) [pid 15252 on line 401 of "/usr/share/php/Horde.php"]
Jun 11 14:39:45 ubuntu HORDE: [horde] Max memory usage: 14942208 bytes [pid
15252 on line 559 of "/usr/share/php/Horde/Registry.php"]
Jun 11 14:39:45 ubuntu imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0


but if I use netcat to login in the imap server works.

root at ubuntu:~# nc localhost 143
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT
AUTH=PLAIN THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION] Courier-IMAP
ready. Copyright 1998-2011 Double Precision, Inc.  See COPYING for
distribution information.
10 login admin admin
10 OK LOGIN Ok.

also I have AUTH=PLAIN as you can see in the imap connection.


Using ubuntu 12.04.2 minimal install in a VirtualBox in bridgemode eth0

Versions:

INSTALLED PACKAGES, CHANNEL PEAR.HORDE.ORG:
===========================================
PACKAGE              VERSION STATE
Horde_Alarm          2.0.4   stable
Horde_Argv           2.0.7   stable
Horde_Auth           2.0.4   stable
Horde_Autoloader     2.0.1   stable
Horde_Browser        2.0.3   stable
Horde_Cache          2.2.0   stable
Horde_Cli            2.0.3   stable
Horde_Compress       2.0.3   stable
Horde_Compress_Fast  1.0.1   stable
Horde_Constraint     2.0.1   stable
Horde_Controller     2.0.1   stable
Horde_Core           2.5.0   stable
Horde_Crypt          2.2.0   stable
Horde_Crypt_Blowfish 1.0.2   stable
Horde_Css_Parser     1.0.0   stable
Horde_Data           2.0.4   stable
Horde_Date           2.0.6   stable
Horde_Date_Parser    2.0.2   stable
Horde_Dav            1.0.0   stable
Horde_Db             2.0.3   stable
Horde_Editor         2.0.3   stable
Horde_Exception      2.0.3   stable
Horde_Form           2.0.4   stable
Horde_Group          2.0.2   stable
Horde_History        2.0.2   stable
Horde_Http           2.0.3   stable
Horde_Icalendar      2.0.5   stable
Horde_Image          2.0.4   stable
Horde_Imap_Client    2.11.4  stable
Horde_Injector       2.0.1   stable
Horde_Itip           2.0.5   stable
Horde_ListHeaders    1.0.1   stable
Horde_Lock           2.1.0   stable
Horde_Log            2.0.1   stable
Horde_LoginTasks     2.0.2   stable
Horde_Mail           2.0.5   stable
Horde_Mime           2.2.1   stable
Horde_Mime_Viewer    2.0.5   stable
Horde_Nls            2.0.3   stable
Horde_Notification   2.0.1   stable
Horde_Perms          2.1.0   stable
Horde_Prefs          2.4.1   stable
Horde_Queue          1.0.0   stable
Horde_Rdo            2.0.2   stable
Horde_Role           1.0.1   stable
Horde_Routes         2.0.2   stable
Horde_Rpc            2.1.0   stable
Horde_Secret         2.0.2   stable
Horde_Serialize      2.0.2   stable
Horde_SessionHandler 2.2.0   stable
Horde_Share          2.0.3   stable
Horde_SpellChecker   2.1.0   stable
Horde_Stream         1.2.0   stable
Horde_Stream_Filter  2.0.1   stable
Horde_Stream_Wrapper 2.0.1   stable
Horde_Support        2.1.0   stable
Horde_Template       2.0.1   stable
Horde_Text_Diff      2.0.2   stable
Horde_Text_Filter    2.1.3   stable
Horde_Text_Flowed    2.0.1   stable
Horde_Timezone       1.0.3   stable
Horde_Token          2.0.4   stable
Horde_Translation    2.0.1   stable
Horde_Tree           2.0.2   stable
Horde_Url            2.2.0   stable
Horde_Util           2.2.2   stable
Horde_Vfs            2.1.0   stable
Horde_View           2.0.2   stable
Horde_Xml_Element    2.0.1   stable
content              2.0.2   stable
gollem               3.0.0   stable
horde                5.1.0   stable
imp                  6.1.0   stable
ingo                 3.1.0   stable
kronolith            4.1.0   stable
mnemo                4.1.0   stable
nag                  4.1.0   stable
timeobjects          2.0.3   stable
trean                1.0.1   stable
turba                4.1.0   stable
webmail              5.1.0   stable


More information about the imp mailing list