[imp] Issues authenticating imap/pop3 using stock rh 7.3, 8 with imp 2.2.5 to current stable

Miguel Feitosa kurumi at terra.com.br
Fri Apr 18 19:52:56 PDT 2003


Hi,

I have installed on  stock redhat 7.3/8.0 the  latest stable imp/horde
version and also IMP, Version 2.2.5. The issue I am reporting happens on
all setups imp 2.2 - redhat 7.3 , imp stable - redhat 8 and imp 2.2 -
redhat 7.3 and imp 2.2 - redhat 8. 

Even after following all the steps to setup imp and horde I could not
authenticate on my system and log in and see mail messages.

If I tried to log in to a imap/pop server on other machines in my net
and everything worked fine.

My logs showed messages like 

/var/log/maillog
Apr 15 16:47:11 diadorim ipop3d[3868]: Command stream end of file while
reading line user=??? host=200-148-74-
107.dsl.telesp.net.br [200.148.74.107]

and
/var/log/messages
 IMP[595]: FAILED 200.183.99.192 to pop.vmn.com.br:109 as mfeitosa

The problem happened when I uses pop3 and imap.

I saw other people with similar problems on redhat but none seemed to
have a solution.

Others seemed to have everything working fine in their redhat setups.

After a lot of searching and debugging I tracked the problem to the
URL imp using in a php call to imap_open.

Imp is using the correct URL but because of some configuration redhat
has done on their system the URL should be changed. 

This is not a bug in imp or horde code. This probably happens when you
install a  certain combination of red hat packages. I have a full server
installation.

My objective in writing this email is to alert others with the same
issue and save people, especially novices some time. I spent 12 hours on
this...

The following test shows the issue and its correction:

bash# php
<?php
$connstr="{127.0.0.1:110/pop3}";
$user="mfeitosa";
$pass="mypass";
imap_open($connstr, $user, $pass);
?>

fails login

but
<?php
$connstr="{127.0.0.1:110/pop3/notls}";
$user="mfeitosa";
$pass="mypass";
imap_open($connstr, $user, $pass);
?>

WORKS

I changed my POP3 url in HORDE/IMP and it worked fine...

Miguel Feitosa



More information about the imp mailing list