[imp] horde + imp + courier_imap login problem

Miroslav Pendev shadow@CPE0004761ac738-CM00109515bc65.cpe.net.cable.rogers.com
Fri, 19 Jul 2002 11:01:16 -0400


Hi Guys!

I am tring to get horde-2.1 and imp-3.1 to work with courier-imap 1.4.3.

I am running this on FreeBSD 4.6 with apache 1.3.26 and php-4.2.1

Courier imap and pop3 servers are working just fine, the users can log
and get their e-mails without any problems.

My problem is: when I type user name and password into horde's
login screen - horde return this error:

**************
Welcome to Horde
Login failed for some reason. Most likely your username or password was entered
incorrectly.
**************

I am sure the name and the pass are correct.

Horde is setup to use imp for authentication, altough the login screen sais
'Welcome to Horde'.

In horde's log file is the following error:
**************
[...] HORDE [error] [imp] FAILED LOGIN x.x.x.x to localhost:143[imap/notls] as
xxxxx
[on line 270 of "xxx/xxx/horde/imp/lib/IMP.php"]
**************

In courier-imapd's log file is only this:
**************
imapd: Connection, ip=[::ffff:127.0.0.1]
imapd: LOGOUT, ip=[::ffff:127.0.0.1]
**************

In IMP I have change_server, change_port, change_protocol, change_folders
and show_dotfiles = true so I can try different servers, ports and etc.

So far I have the same error no matter pop3 or imap (w and w/o notls ) is the
protocol.

I did notice that imp/test.php PHP IMAP Support Test is returning error, too!

PHP IMAP Support Test
**********************
server="localhost" user="xxxxxx" mailbox="{localhost:143}INBOX"

Warning: Couldn't open stream {localhost:143}INBOX in ...horde/imp/test.php on
line 157

Warning: imap_mailboxmsginfo(): supplied argument is not a valid imap resource
in ...horde/imp/test.php on line 158
INBOX has messages ( new recent)
Warning: imap_close(): supplied argument is not a valid imap resource in
...horde/imp/test.php on line 160
***********************

PHP is compiled with IMAP support!

Note: I changed the full path with dots and username with 'x'

Any help is Welcome!

I did try almost everything... so far no success!

--Miro