[imp] Redhat 7.3 and IMP login error

Eric Rostetter eric.rostetter@physics.utexas.edu
Fri, 5 Jul 2002 11:13:47 -0500


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.