Maia Mailguard

A Spam and Virus Management System

Version 1.0.2a


Thank you ReachOne Internet for hosting our website!

Ticket #266 (reopened enhancement)

Opened 2 years ago

Last modified 4 months ago

[PATCH] PEAR::Net_IMAP needs patching for use with PHP 5

Reported by: rjl Assigned to: rjl
Priority: normal Milestone: 1.0.3
Component: PHP scripts Version: 1.0.0
Severity: normal Keywords: php 5 imap net_imap pear
Cc:

Description

While this isn't a Maia bug, it affects Maia users wishing to use PHP 5 and IMAP authentication. The bug and its solution are described here.

While this is likely to be fixed in future versions of PEAR::Net_IMAP, it plagues the current version (1.0.3), so a one-line patch for the IMAPProtocol.php file is all that's required to get it working with PHP 5. We should provide that patch with Maia until such time as a new release of PEAR::Net_IMAP is issued.

Furthermore, we can detect this condition within configtest.php--the combination of PHP version >= 5 and PEAR::Net_IMAP version == 1.0.3--and warn users to apply the supplied patch.

Attachments

IMAPProtocol.php.patch (404 bytes) - added by rjl on 02/01/06 11:46:37.
Patch file for IMAPProtocol.php from PEAR::Net_IMAP 1.0.3

Change History

02/01/06 11:46:37 changed by rjl

  • attachment IMAPProtocol.php.patch added.

Patch file for IMAPProtocol.php from PEAR::Net_IMAP 1.0.3

02/12/06 15:50:25 changed by dmorton

  • status changed from new to closed.
  • resolution set to fixed.

[952], [953] Pointing users to this page to get patch.

04/17/06 12:43:56 changed by rjl

  • summary changed from PEAR::Net_IMAP needs patching for use with PHP 5 to [PATCH] PEAR::Net_IMAP needs patching for use with PHP 5.

08/19/06 16:37:38 changed by dmorton

  • patch changed.

I also get an error when logging in, undefined variable $command on line 2707. By changing this to $token, the error goes away.

This can be a show stopper if debugging is turned on, as it causes a popup window and stops the redirect on xlogin.php.

01/25/08 07:27:38 changed by dmorton

  • status changed from closed to reopened.
  • resolution deleted.
  • milestone changed from 1.0.1 to 1.0.3.

That last comment doesn't make sense?

Anyway, reopening this ticket because the url for the fix is wrong in the patches... it needs to go to www.maiamailguard.com now.