[imp] imap no longer working after upgrade via horde
Louis-Philippe Allard
lp.allard.1 at gmail.com
Sun May 8 23:35:10 UTC 2011
Hello, i initially posted this issue on the horde general mailing
list but Jan Schneider suggested that post on the imp list since its
an imap authentication problem.
I upgraded horde after recommendations from Horde's devs and now I can
no longer access my portal. I changed the settings in
imp/config/backends.php to use Gmail's imap & smtp servers, it used
to work but now I try and I get:
Error when communicating with the mail server.
I activated the debug log in horde/config/conf.php with
$conf['log']['priority'] = DEBUG & the horde log has this in it:
2011-05-08T19:15:51-04:00 DEBUG: HORDE Horde_Registry: retrieved app
with cache ID horde_registry|app|1304555302|b08dcbad622cf62407cb7ee76f5ff8cf
[pid 9017 on line 1672 of "/usr/lib/php/Horde/Registry.php"]
2011-05-08T19:15:51-04:00 DEBUG: HORDE [imp] Load config file
(conf.php; app: imp) [pid 9017 on line 860 of
"/usr/lib/php/Horde.php"]
2011-05-08T19:15:51-04:00 DEBUG: HORDE [imp] Load config file
(nls.php; app: horde) [pid 9017 on line 860 of
"/usr/lib/php/Horde.php"]
2011-05-08T19:15:51-04:00 DEBUG: HORDE [imp] Load config file
(prefs.php; app: horde) [pid 9017 on line 860 of
"/usr/lib/php/Horde.php"]
2011-05-08T19:15:51-04:00 DEBUG: HORDE [imp] Load config file
(prefs.php; app: imp) [pid 9017 on line 860 of
"/usr/lib/php/Horde.php"]
2011-05-08T19:15:51-04:00 DEBUG: HORDE [imp] Load config file
(backends.php; app: imp) [pid 9017 on line 860 of
"/usr/lib/php/Horde.php"]
2011-05-08T19:16:51-04:00 DEBUG: HORDE [imp] Error when communicating
with the mail server. [pid 9017 on line 27 of
"/usr/lib/php/Horde/Core/Notification/Handler/Decorator/Hordelog.php"]
2011-05-08T19:16:51-04:00 ERR: HORDE [imp] IMAP read error or IMAP
connection timed out. [pid 9017 on line 472 of
"/var/www/htdocs/horde4/imp/lib/Imap.php"]
2011-05-08T19:16:51-04:00 DEBUG: 1.
Horde_Core_Auth_Application->authenticate()
/var/www/htdocs/horde4/login.php:151
2. Horde_Core_Auth_Application->authenticate()
/usr/lib/php/Horde/Core/Auth/Application.php:128
3. Horde_Auth_Base->authenticate()
/usr/lib/php/Horde/Core/Auth/Application.php:131
4. Horde_Core_Auth_Application->_authenticate()
/usr/lib/php/Horde/Auth/Base.php:110
5. Horde_Registry->callAppMethod()
/usr/lib/php/Horde/Core/Auth/Application.php:160
6. call_user_func_array() /usr/lib/php/Horde/Registry.php:1062
7. IMP_Application->authAuthenticate()
8. IMP_Auth::authenticate() /var/www/htdocs/horde4/imp/lib/Application.php:402
9. IMP_Imap->login() /var/www/htdocs/horde4/imp/lib/Auth.php:101
10. IMP_Imap->__call()
2011-05-08T19:16:51-04:00 INFO: HORDE [imp] FAILED LOGIN for
lp.allard.1 at gmail.com [192.168.0.106] to {imap.gmail.com:993 [imap]}
[pid 9017 on line 177 of "/var/www/htdocs/horde4/imp/lib/Auth.php"]
2011-05-08T19:16:51-04:00 ERR: HORDE [horde] FAILED LOGIN for
lp.allard.1 at gmail.com [192.168.0.106] to Horde [pid 9017 on line 182
of "/var/www/htdocs/horde4/login.php"]
2011-05-08T19:16:51-04:00 DEBUG: HORDE [horde] Login failed. [pid 9017
on line 27 of "/usr/lib/php/Horde/Core/Notification/Handler/Decorator/Hordelog.php"]
2011-05-08T19:16:51-04:00 DEBUG: HORDE [horde] SQL (0.0004s)
SELECT alarm_id, alarm_uid, alarm_start, alarm_end, alarm_methods,
alarm_params, alarm_title, alarm_text, alarm_snooze, alarm_internal
FROM horde_alarms WHERE alarm_dismissed = 0 AND ((alarm_snooze IS NULL
AND alarm_start <= '2011-05-08T23:16:51') OR alarm_snooze <=
'2011-05-08T23:16:51') AND (alarm_end IS NULL OR alarm_end >=
'2011-05-08T23:16:51') AND (alarm_uid IS NULL OR alarm_uid = '' OR
alarm_uid = '') ORDER BY alarm_start, alarm_end [pid 9017 on line
783 of "/usr/lib/php/Horde/Db/Adapter/Base.php"]
2011-05-08T19:16:51-04:00 DEBUG: HORDE [horde] Load config file
(motd.php; app: horde) [pid 9017 on line 860 of
"/usr/lib/php/Horde.php"]
2011-05-08T19:16:51-04:00 DEBUG: HORDE [horde] Max memory usage:
9961472 bytes [pid 9017 on line 464 of
"/usr/lib/php/Horde/Registry.php"]
My /imp/conf/backend.php:
$servers['imap'] = array(
// ENABLED by default
'disabled' => false,
'name' => 'IMAP Server',
'hostspec' => 'imap.gmail.com',
'hordeauth' => true,
'protocol' => 'imap',
'port' => 993,
// Plaintext logins are disabled by default on IMAP servers (see RFC 3501
// [6.2.3])
'secure' => 'tls',
'maildomain' => '',
// 'smtphost' => 'smtp.gmail.com',
'smtpport' => 587,
'cache' => false,
);
Anybody has a clue????
Thanks!
More information about the imp
mailing list