[imp] Redhat 7.3 and IMP login error
Tony
tony@waymega.com
Fri, 05 Jul 2002 11:42:36 -0600
Thanks for the suggestion, I've re-installed my php-imap but I'm still
getting the same error. The test says 10.0.0.2 because when I ran the IMP
test, I used the servers internal IP instead of loopback. When I use
loopback, I get the following:
PHP IMAP Support Test
server="127.0.0.1" user="tony" mailbox="{127.0.0.1:143}INBOX"
Warning: Couldn't open stream {127.0.0.1:143}INBOX in
/var/www/html/horde/imp/test.php on line 157
Warning: Supplied argument is not a valid imap resource in
/var/www/html/horde/imp/test.php on line 158
INBOX has messages ( new recent)
Warning: Supplied argument is not a valid imap resource in
/var/www/html/horde/imp/test.php on line 160
Warning: Connection failed to 127.0.0.1,143: Connection timed out
(errflg=2) in Unknown on line 0
--Here is the complete test.php info that you said may help:
Horde Versions
Horde: 2.1
IMP: 3.1 (run IMP tests)
PHP Version
View phpinfo() screen
PHP Version: 4.1.2
PHP Major Version: 4.1
PHP Minor Version: 2
PHP Version Classification: release
You are running a supported version of PHP.
PHP Module Capabilities
FTP Support: Yes
Gettext Support: Yes
IMAP Support: Yes
LDAP Support: Yes
MCAL Support: No
Mcrypt Support: No
MySQL Support: Yes
PostgreSQL Support: Yes
XML Support: Yes
Miscellaneous PHP Settings
short_open_tag enabled: Yes
magic_quotes_runtime set to Off: Yes
file_uploads enabled: No
file_uploads must be enabled for some features like sending emails with IMP.
PHP Sessions
Session counter: 6
To unregister the session: click here
PEAR
PEAR - Yes
Recent PEAR - Yes
Mail::RFC822 - Yes
Log - Yes
DB - Yes
At 11:13 AM 7/5/2002 -0500, you wrote:
>Quoting Tony <tony@waymega.com>:
>
> > $conf['auth']['params']['dsn'] = '{127.0.0.1/imap:143}INBOX';
>
>Here you say it is loopback 127.0.0.1...
>
> > $servers['imap'] = array(
> > 'name' => 'IMAP Server',
> > 'server' => '127.0.0.1',
>
>Here you say again loopback...
>
> > horde.log
> >
> > Jul 05 01:28:40 HORDE [error] [imp] FAILED LOGIN 10.0.0.3 to
> > 127.0.0.1:143[imap] as tony [on line 270 of
> > "/var/www/html/horde/imp/lib/IMP.php"]
>
>It appears to hit localhost here, which is good...
>
> > test.php retrieves the following:
> >
> > IMP Version
> > · IMP: 3.1
> > PHP Version
> > · View phpinfo() screen
> > · PHP Version: 4.1.2
> > · PHP Major Version: 4.1
> > · PHP Minor Version: 2
> > · PHP Version Classification: release
> > · You are running a supported version of PHP.
>
>Where's the loaded module/extension info???
>
> > PHP IMAP Support Test
> > server="10.0.0.2" user="tony" mailbox="{10.0.0.2:143}INBOX"
>
>Why does this show the serer as 10.0.0.2 instead of 127.0.0.1???
>
> > Warning: Couldn't open stream {10.0.0.2:143}INBOX in
> > /var/www/html/horde/imp/test.php on line 157
> >
> > Warning: Supplied argument is not a valid imap resource in
> > /var/www/html/horde/imp/test.php on line 158
> > INBOX has messages ( new recent)
> > Warning: Supplied argument is not a valid imap resource in
> > /var/www/html/horde/imp/test.php on line 160
>
>My guess is you php imap support is foobared. A full output from test.php
>would be useful...
>
>--
>Eric Rostetter
>The Department of Physics
>The University of Texas at Austin
>
>"TAD (Technology Attachment Disorder) is an unshakable, impractical=
devotion
>to a brand, platform, product line, or programming language. It's=
relatively
>harmless among the rank and file, but when management is afflicted the=
damage
>can be measured in dollars. It's also contagious -- someone with sufficient
>political clout can infect an entire organization."
>
>--"Enterprise Strategies" columnist Tom Yager.