[imp] Redhat 7.3 and IMP login error

Tony tony@waymega.com
Fri, 05 Jul 2002 02:37:21 -0600


I think I've read every other user troubleshooting their imp and tried them 
all too, I am still at ground zero.  Let me explain my current config, I'm 
using horde v2.1 final and imp 3.1 final.

/horde/config/horde.php

$conf['auth']['driver'] = 'imap';
$conf['auth']['params'] = array();
$conf['auth']['params']['dsn'] = '{127.0.0.1/imap:143}INBOX';

I've tried changing here to both imap and imap/notls with no success.

/horde/imp/config/servers.php

$servers['imap'] = array(
     'name' => 'IMAP Server',
     'server' => '127.0.0.1',
     'protocol' => 'imap/notls',
     'port' => 143,
     'folders' => 'mail/',
     'namespace' => '',
     'maildomain' => 'example.com',
     'smtphost' => '127.0.0.1',
     'realm' => '',
     'preferred' => 'true'
);

I've tried both imap and imap/notls here too.

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"]

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.
PHP IMAP Support Test
server="10.0.0.2" user="tony" mailbox="{10.0.0.2:143}INBOX"

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

Any help for a linux newbie would be appreciated!
Thanks,
Tony Lau