Squirrelmail, "headers already sent" on a subset of emails.

azzid

Verified User
Joined
Jan 19, 2011
Messages
9
When viewing some e-mails in squirrelmail the following error is printed on the top of the page:
Code:
[B]Warning[/B]: Variable passed to each() is not an array or object in [B]/var/www/html/squirrelmail-1.4.22/functions/mime.php[/B] on line [B]1594[/B]

[B]Warning[/B]: Cannot modify header information - headers already sent by (output started at /var/www/html/squirrelmail-1.4.22/functions/mime.php:1594) in [B]/var/www/html/squirrelmail-1.4.22/functions/page_header.php[/B] on line [B]31[/B]

Here's a mildly obfuscated header of one of the messages that is producing the error:
Code:
Return-path: <[email protected]>
Envelope-to: [email protected]
Delivery-date: Thu, 08 Sep 2011 17:10:44 +0200
Received: from mail by directadmin.server.com with spam-scanned (Exim 4.71)
     (envelope-from <[email protected]>)
     id 1R1gFW-0000Qa-CI
     for [email protected]; Thu, 08 Sep 2011 17:10:44 +0200
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
     directadmin.server.com
X-Spam-Level:
X-Spam-Status: No, score=1.0 required=6.0 tests=FREEMAIL_FROM,HTML_MESSAGE,
     SPF_SOFTFAIL autolearn=no version=3.3.1
Received: from mx1.mrinbox.com ([80.75.23.21] helo=mx.globalinn.com)
     by directadmin.server.com with esmtp (Exim 4.71)
     (envelope-from <[email protected]>)
     id 1R1gFW-0000QX-BK
     for [email protected]; Thu, 08 Sep 2011 17:10:42 +0200
Received: from localhost (localhost [127.0.0.1])
     by mx.globalinn.com (Postfix) with ESMTP id 4B91C25A72
     for <[email protected]>; Thu, 8 Sep 2011 17:10:42 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mx.globalinn.com
Received: from mx.globalinn.com ([127.0.0.1])
     by localhost (mx.globalinn.com [127.0.0.1]) (amavisd-new, port 10024)
     with ESMTP id Z-WGDNDxpY9g for <[email protected]>;
     Thu, 8 Sep 2011 17:10:40 +0200 (CEST)
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6
Received: from snt0-omc4-s16.snt0.hotmail.com (snt0-omc4-s16.snt0.hotmail.com [65.55.90.219])
     by mx.globalinn.com (Postfix) with ESMTP id AF60B25A42
     for <[email protected]>; Thu, 8 Sep 2011 17:10:34 +0200 (CEST)
Received: from SNT133-W13 ([65.55.90.200]) by snt0-omc4-s16.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675);
     Thu, 8 Sep 2011 08:10:32 -0700
Message-ID: <[email protected]>
Content-Type: multipart/alternative;
     boundary="_fb3bd87e-a776-442e-9e20-185e112ae58e_"
X-Originating-IP: [81.230.156.62]
From: =?iso-8859-1?B?Q2Fyb2xpbmUgV2FsbOlu?= <[email protected]>
To: <[email protected]>
Subject: =?iso-8859-1?Q?RE:_En_kun?= =?iso-8859-1?Q?d_har_skic?=
     =?iso-8859-1?Q?kat_en_rek?= =?iso-8859-1?Q?lamationsb?=
     =?iso-8859-1?Q?eg=E4ran_fr=E5?= =?iso-8859-1?Q?n_webbutik?=
     =?iso-8859-1?Q?en?=
Date: Thu, 8 Sep 2011 15:10:32 +0000
Importance: Normal
In-Reply-To: <87668ca7e7abe9aa526042b5e7c8bb6a.squirrel@directadmin14.server.com>
References:
     <[email protected]>,<fdf1a647332959901591e0641be5891e.squirrel@directadmin14.server.com>,<[email protected]>,<87668ca7e7abe9aa526042b5e7c8bb6a.squirrel@directadmin14.server.com>
MIME-Version: 1.0
X-OriginalArrivalTime: 08 Sep 2011 15:10:32.0959 (UTC) FILETIME=[744238F0:01CC6E39

Has anyone seen this error before? What can one do to get rid of it?
 
Back
Top