[imp] IMAP login issue
Steve Paras-Charlton
steve at falchion.com
Tue Sep 18 16:23:38 UTC 2007
OK, first of all, I've read the FAQs, searched the list archives and the
bugs database, but can't seem to find anything that resembles my
problem, but if I'm being stupid, then constructive flaming pointers
welcome :)
I've just setup a new mail/web server (Ubuntu Fiesty) using horde/imp
cvs (no tags) and courier imapd.
I've setup horde to authenticate via imap (imap/notls,localhost) and
that works fine. I do the same for IMP, and I get "Login Failed". The
imp/test.php login returns fine for imap/notls,
imap/ssl/novalidate-cert, and imap/sasl/novalidate-cert (I'll reply to
myself with actual output when I get to the appropriate system). Copy
and paste of the test.php output into servers.php (any of the valid
ones) yields exactly the same result.
Further investigation using tcpdump on lo shows that both the horde
login and the test.php contact imapd as one would expect, but when
trying the IMP login, there is no traffic! Just a failure message.
Any thoughts?
horde.log relevant section for imp login failure:
Sep 18 09:21:47 HORDE [debug] [imp] SQL query by
Horde_Alarm_sql::_list(): 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 <= ?) OR alarm_snooze <= ?)
AND (alarm_end IS NULL OR alarm_end >= ?) AND (alarm_uid = ? OR
alarm_uid = ?) ORDER BY alarm_start, alarm_end [on line 148 of
"/usr/share/php/Horde/Alarm/sql.php"]
Sep 18 09:21:59 HORDE [error] [imp] FAILED LOGIN for steve
[192.168.5.160] to {localhost:993 [imap/ssl/novalidate-cert]} [on line
132 of "/usr/local/horde3/horde/imp/lib/Auth/imp.php"]
Sep 18 09:21:59 HORDE [debug] [imp] SQL query by
Horde_Alarm_sql::_list(): 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 <= ?) OR alarm_snooze <= ?)
AND (alarm_end IS NULL OR alarm_end >= ?) AND (alarm_uid = ? OR
alarm_uid = ?) ORDER BY alarm_start, alarm_end [on line 148 of
"/usr/share/php/Horde/Alarm/sql.php"]
Current servers.php section:
$servers['falchion'] = array(
'name' => 'Falchion Mail',
'server' => 'localhost',
'protocol' => 'imap/ssl/novalidate-cert',
'port' => 993,
);
alternate which was the same:
*$servers['imap'] = array(
'name' => 'Falchion Mail',
'server' => 'localhost',
'hordeauth' => false,
'protocol' => 'imap/ssl/novalidate-cert',
'port' => 993,
'maildomain' => 'falchion.com',
'smtphost' => 'localhost',
'smtpport' => 25,
'realm' => '',
'preferred' => '1',
);
More information about the imp
mailing list