login fails (was Re: [imp] undefined function: send())

Craig Zimmerman craigz@internet00.tbwachiat.com
Mon, 25 Dec 2000 18:19:25 -0500 (EST)


I've upgraded to the latest php4.  I've rebuilt everything at least
three times now (even grabed a new apache dist, just in case...)

I can use pine on the localhost or Netscape Communicator/Mulberry from a
client to log into the IMAP server.  Reading/Sending/Filing mail works
great, no trouble at all.

However when I go to login via IMP, I get:

Login failed for some reason. Most likely your username or password was
entered incorrectly. 

This had worked previously.

I've checked over and over thru the list archives for some of the errors,
especally 'Unable to find stream pointer...' which seems to be the
trouble, but could not find anything.

The problem as best I can tell is that IMP is never actually loging into
the IMAP server.

It looks to me like the 'stream pointer' errors are due to no connection
existing.  Furthermore of interest is the output from
/var/log/maillog.  telnet connections/communicator connections leave a
trail of the username.  IMP connections only note the hostname, suggesting
the username/LOGIN has never been passed to the IMAP server.

Below are the versions of everything I'm running as well as output from
the relevant logs: 

Redhat 6.2
apache_1.3.14
PHP Version: 4.0.5-dev 
Horde: 1.3.2-cvs 
IMP: 2.3.6-cvs 
Courier-IMAP 1.2

[phpinfo()]

'./configure' '--with-mm' '--with-mysql=/usr/local/etc/mysql'
'--with-ldap' '--with-imap=../pine/imap' 
'--with-gettext' '--with-db3=/usr/local/BerkeleyDB.3.1'
'--with-apache=../apache'

[/tmp/imp.log]

Dec 25 17:48:35 IMP [info] FAILED LOGIN 24.29.148.192 to
internet00.tbwachiat.com:143[imap] as craigz
Dec 25 17:48:35 IMP [info] 24.29.148.192 failed

[apachedir/logs/error_log]

[Mon Dec 25 17:48:35 2000] [error] PHP Warning:  Unable to find stream
pointer in ./lib/folder.php on line 93
[Mon Dec 25 17:48:35 2000] [error] PHP Warning:  Unable to find stream
pointer in /usr/local/etc/httpd/htdocs/horde/imp/mailbox.php on line 285
PHP Warning:  Login aborted (errflg=2) in Unknown on line 0

[var/log/maillog]

--> after IMP
Dec 25 17:48:35 internet00 imaplogin: Connection,
ip=[::ffff:208.244.203.212]
Dec 25 17:48:35 internet00 imaplogin: LOGOUT, ip=[::ffff:208.244.203.212]

--> after telnet (the same host) internet00.tbwachiat.com 25
Dec 25 17:52:27 internet00 imaplogin: LOGIN, user=craigz,
ip=[::ffff:208.244.203.212]
Dec 25 17:52:39 internet00 imaplogin: LOGOUT, user=craigz,
ip=[::ffff:208.244.203.212]

--> after communicator(from a client) makes an imap connection
Dec 25 17:54:10 internet00 imaplogin: Connection,
ip=[::ffff:208.244.203.180]
Dec 25 17:54:13 internet00 imaplogin: LOGIN, user=craigz,
ip=[::ffff:208.244.203.180]
Dec 25 17:55:37 internet00 imaplogin: LOGOUT, user=craigz,
ip=[::ffff:208.244.203.180]

Any and all help would be greatly appriecated, I'm completely stuck at
this point.

Thanks

-c.

PS.  Happy Hollidays!

On Mon, 18 Dec 2000, Chuck Hagenbuch wrote:

> try getting the latest version of php4, and especially PEAR.
> 
> -chuck
> 
> --
> Charles Hagenbuch, <chuck@horde.org>
> "If you can't stand the heat, get out of the chicken!" - Baby Blues
> 
>