Bug#311119: aeromail can't login
retitle 39 aeromail: unusable with default PHP configuration severity 39 serious thanks aeromail depends on register_globals being enabled, which is not the default setting since PHP 4.2.0. Thanks, Matej -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#311119: aeromail can't login
Le dimanche 29 mai 2005 00:25 +0200, Philipp Kern a crit : Xavier Bestel wrote: Severity: important Aeromail can't login. It seems it doesn't work with the version of PHP currently in sarge. The problem is that it uses $PHP_AUTH.. variables instead of $_SERVER[$PHP_AUTH...]. Does this make the package unusable? Yes. In fact, even after correcting that problem there are other bugs, apparently due to aeromail in sarge being a really old version, and not working with the current php package. I switched to ilohamail. IMHO, aeromail should be scrapped or updated. Xav
Bug#311119: aeromail can't login
Package: aeromail Version: 1.45-1.2 Severity: important Aeromail can't login. It seems it doesn't work with the version of PHP currently in sarge. The problem is that it uses $PHP_AUTH.. variables instead of $_SERVER[$PHP_AUTH...]. Here is a patch which fixes it for me: --- /var/www/aeromail/global.inc.old2005-05-28 21:38:22.692365763 +0200 +++ /var/www/aeromail/global.inc2005-05-28 21:38:17.581995625 +0200 @@ -267,6 +267,9 @@ exit; } +$PHP_AUTH_USER = $_SERVER[PHP_AUTH_USER]; +$PHP_AUTH_PW = $_SERVER[PHP_AUTH_PW]; + if ((!$PHP_AUTH_USER) or (!$PHP_AUTH_PW) or ($time time())) { login_prompt(); -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.8-2-686-smp Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8) Versions of packages aeromail depends on: ii debconf 1.4.30.13 Debian configuration management sy ii php4 4:4.3.10-15 server-side, HTML-embedded scripti ii php4-imap4:4.3.10-15 IMAP module for php4 -- debconf information: * aeromail/forcefrom: false * aeromail/name: Le Mail a Bestouff * aeromail/imapserver: awak * aeromail/imaptype: Cyrus * aeromail/maildomain: awak.dyndns.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#311119: aeromail can't login
Xavier Bestel wrote: Severity: important Aeromail can't login. It seems it doesn't work with the version of PHP currently in sarge. The problem is that it uses $PHP_AUTH.. variables instead of $_SERVER[$PHP_AUTH...]. Does this make the package unusable? Kind regards, Philipp Kern -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]