[imp] horde + imp + courier_imap login problem
Miroslav Pendev
shadow@CPE0004761ac738-CM00109515bc65.cpe.net.cable.rogers.com
Fri, 19 Jul 2002 16:37:57 -0400
Hi Tjeerd,
Thanks for the idea. I did recomple courier without ipv6.
Unfortunately, I still have the same problem!
Courier itself seems to be pretty much OK! But here is was I have
into courier's log:
# when login with e-mail client (Outlook Express)
pop3d: Connection, ip=[x.x.x.x]
pop3d: LOGIN, user=xxxxx, ip=[x.x.x.x]
pop3d: LOGOUT, user=xxxxx, ip=[x.x.x.x], top=0, retr=0
# when login with e-mail client (Outlook Express) - IMAP
imapd: Connection, ip=[x.x.x.x]
imapd: LOGIN, user=xxxxx, ip=[x.x.x.x]
imapd: LOGOUT, user=xxxxx, ip=[x.x.x.x], headers=0, body=3264
# when login with Horde-Imp
pop3d: Connection, ip=[127.0.0.1]
pop3d: Disconnected, ip=[127.0.0.1]
# when login with Horde-Imp - IMAP
imapd: Connection, ip=[127.0.0.1]
imapd: LOGOUT, ip=[127.0.0.1]
There is no user or pass - nothing!
Horde-Imp (or PHP) is not sending anything!!!
It may be PHP 4 problem, the IMP PHP IMAP Support Test failed, too!
I just don't know... this makes me crazy... ;-)
What PHP version you are using? I will try to dig more into the recently
PHP changes, who knows...
Thanks for your idea, anyway!
--Miro
> Hi,
>
> well i'am not sure it's of any help, but i run courier with on freebsd 4.6
> too and had some
> problems in the past witch courier running on ipv6. I've noticed you use
> ipv6, my sugestion
> would be disable the ipv6 protocol for courier,
>
> --without-ipv6 should do the trick.
>
> after that all my trouble went away.
>
> Hope it's of any help to you ...
>
> With kind regards,
>
> Tjeerd van der Zee
>
>
> > 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
> >
> >
> > --
> > IMP mailing list
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> >
> >
>