ID: 13499
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: IMAP related
Operating System: linux (mandrake 2.4.8-24mdk)
PHP Version: 4.0.6
New Comment:

Review of mail server logs and further testing against two different imap servers 
indicates that the proximal cause of the problem is an incorrect authentication scheme 
(though I suspect a different root cause, ie, memory overwrite, etc.).

It is as if there should be a specification associated with the authentication request 
which indicates md5-cram or plaintext, but that is either not sent or garbled.

Previous Comments:
------------------------------------------------------------------------

[2001-10-01 13:45:29] [EMAIL PROTECTED]

PHP 4.06 Code which works on apache 1.3.2 on Win2k fails on linux with the same 
versions of PHP and apache. Depending on the extensions which are enabled either 
output terminates completely, or if the only enabled extension is imap then 
authentication fails. Code shown:

$server = "bluetrain.com";
$port = ":143/imap";
$account = "[EMAIL PROTECTED]";
$passwd = "x0x0x0"; // not really...

$connstr = '\{' . $server . $port . '}' . imap_utf7_encode($mailbox);
$connstr = "\{$server$port}" . imap_utf7_encode($mailbox);

$mbox = imap_open ($connstr, $account, $passwd)
        or die(imap_last_error ());


Seems like this would have been noticed by the folks that do horde, since horde will 
not work and fails with the same behavior.

A variety of servers, accounts, syntaxes have been attempted, but it is never possible 
to authenticate from linux, apache 1.3.2 php4.06.

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=13499&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to