Your message dated Tue, 13 Sep 2005 10:08:03 +0200 with message-id <[EMAIL PROTECTED]> and subject line aeromail removed has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 31 Jan 2003 00:26:46 +0000 >From [EMAIL PROTECTED] Thu Jan 30 18:26:45 2003 Return-path: <[EMAIL PROTECTED]> Received: from hm61.locaweb.com.br [200.213.197.161] by master.debian.org with smtp (Exim 3.12 1 (Debian)) id 18eP12-0006dh-00; Thu, 30 Jan 2003 18:26:45 -0600 Received: (qmail 18308 invoked from network); 31 Jan 2003 00:26:48 -0000 Received: from hm47.locaweb.com.br (200.182.98.147) by hm61.locaweb.com.br with QMTP; 31 Jan 2003 00:26:48 -0000 Received: (qmail 20186 invoked from network); 31 Jan 2003 00:26:35 -0000 Received: from unknown (HELO debian) ([EMAIL PROTECTED]@200.158.26.202) by hm47.locaweb.com.br with SMTP; 31 Jan 2003 00:26:35 -0000 Received: from localhost ([127.0.0.1] helo=zappitec.com.br ident=paulo) by debian with esmtp (Exim 3.35 #1 (Debian)) id 18eP0y-0000AR-00 for <[EMAIL PROTECTED]>; Thu, 30 Jan 2003 22:26:40 -0200 Message-ID: <[EMAIL PROTECTED]> Date: Thu, 30 Jan 2003 22:26:37 -0200 From: Paulo Zappi <[EMAIL PROTECTED]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: pt-br, en-us, en MIME-Version: 1.0 To: [EMAIL PROTECTED] Subject: bad function decode_header_string() in global.inc Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Delivered-To: [EMAIL PROTECTED] X-Spam-Status: No, hits=0.3 required=5.0 tests=SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_MOZILLA_UA, X_ACCEPT_LANG version=2.41 X-Spam-Level: Package: aeromail Version: 1.45-1 The current function decode_header_string() in file global.inc is unable to handle decoding of multiple elements. It checks only for one "=?" substring at the beginning of the text to decode. If there are multiple elements to decode, the function fails to decode the subsequent elements. As a suggestion, I would replace function decode_header_string() with the following: //-------------------------------------- function decode_header_string($hed_str) { $output = "Empty String"; if($hed_str) { $element=imap_mime_header_decode($hed_str); $output = ""; for($i=0; $i < count($element); $i++) { $output .= $element[$i]->text; } } return $output; } //----------------------------------------- The function above appears to decode the elements correctly. I'm using debian 3.0, kernel 2.4.18-k7 and php4 v. 4.1.2-6 --------------------------------------- Received: (at 179123-done) by bugs.debian.org; 13 Sep 2005 08:08:47 +0000 >From [EMAIL PROTECTED] Tue Sep 13 01:08:47 2005 Return-path: <[EMAIL PROTECTED]> Received: from mail.irb.hr [161.53.22.8] (UNKNOWN) by spohr.debian.org with esmtp (Exim 3.36 1 (Debian)) id 1EF5qQ-00040Z-00; Tue, 13 Sep 2005 01:08:46 -0700 Received: from diziet.irb.hr (diziet.irb.hr [161.53.22.31]) by mail.irb.hr (8.13.3/8.13.3/Debian-6) with ESMTP id j8D87tS1027861; Tue, 13 Sep 2005 10:07:55 +0200 Received: from diziet.irb.hr (localhost [127.0.0.1]) by diziet.irb.hr (8.13.4/8.13.4/Debian-4) with ESMTP id j8D883Up029639; Tue, 13 Sep 2005 10:08:03 +0200 Received: (from [EMAIL PROTECTED]) by diziet.irb.hr (8.13.4/8.13.4/Submit) id j8D883WA029637; Tue, 13 Sep 2005 10:08:03 +0200 Date: Tue, 13 Sep 2005 10:08:03 +0200 From: Matej Vela <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: aeromail removed Message-ID: <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.10i X-Scanned-By: MIMEDefang 2.51 on 161.53.22.8 Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Level: X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-CrossAssassin-Score: 4 aeromail has been removed from Debian because no one adopted it since January 2004, and because it is unusable with the default configuration of PHP. ilohamail provides a lightweight alternative. For details, see <http://bugs.debian.org/326164>. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]