[imp] IMP IMAP Authentication Problem
Brandon W. Uhlman
brandon at branflakes.net
Fri May 16 10:42:51 PDT 2003
G'day.
I run two Horde/IMP applications for two separate organizations.
One is running an Horde 2.0/IMP 3.0/PHP4.2.3 with UW IMAP [newish]
(installed by someone else long before I was ever near the machine). This
machine is working fine.
The other, which I'm having lots of trouble with, is running Horde 2.2.3/IMP
3.2.1/PHP4.3.2RC3 with Cyrus 2.1.13, installed by me. Both machines are x86
machines running Linux, and Apache 1.3.27.
I can login to both IMAP and POP services on the latter machine thusly:
~~~~~~~~~~~~~~
ssrlhq:~# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK ssrl.library.ns.ca Cyrus POP3 v2.1.13 server ready
<1784060768.1053105343 at ssrl.library.ns.ca>
user bwuhlman
+OK Name is a valid mailbox
pass <my_password>
+OK Maildrop locked and ready
list
+OK scan listing follows
1 1164
2 1165
3 1788708
.
quit
+OK
Connection closed by foreign host.
~~~~~~~~~~~~
ssrlhq:~# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK ssrl.library.ns.ca Cyrus IMAP4 v2.1.13 server ready
. login bwuhlman <my_password>
. OK User logged in
~~~~~~~~~~~~
I can also authenticate to the machine via regular POP/IMAP clients like
Outlook (*shudder*).
However, when I try to authenticate via webmail, I get the "Login failed for
some reason...." message, which isn't that helpful at all. /tmp/horde.log is
present, but empty - it sounds like that problem with PEAR Log mentioned
earlier on the list, except I'm running the newer versions of PEAR and Log.
That having been said, if I use the "PHP IMAP Support Test" that comes with
IMP, with the following settings:
Server ssrl.library.ns.ca
Protocol imap/notls
Port 143
User bwuhlman
Password <my_password>
I get the somewhat more "helpful" error message:
server="ssrl.library.ns.ca" user="bwuhlman"
mailbox="{ssrl.library.ns.ca:143/imap/notls}INBOX"
array(1) {
[0]=>
string(83) "Can not authenticate to IMAP server: [CLOSED] IMAP connection
broken (authenticate)"
}
~~~~~~~~~~
The relevant snippet from servers.php looks like this:
$servers['imap'] = array(
'name' => 'IMAP Server',
'server' => 'ssrl.library.ns.ca',
'protocol' => 'imap/notls',
'port' => 143,
'folders' => 'INBOX.',
'namespace' => '',
'maildomain' => 'example.com',
'smtphost' => 'smtp.example.com',
'realm' => 'example.com',
'preferred' => ''
);
~~~~~~~~~~~~~~
I've tried it with other servers (the first server I mentioned)
successfully.
Does anybody know whether my error is some triviality with servers.php that
I'm mussing up, a problem with my Cyrus install, or a problem with IMP (or
Horde)?
Best,
brandon
More information about the imp
mailing list