On 10/19/06, Mike Husmann <husmann@xxxxxxxxxxxxxxx> wrote: > Hello list, > I'm testing the latest version of Paul's html_mail plugin with squirrelmail, and > my amavis-new scanner is tagging html messages sent with attachments as having bad > headers. I'm trying to determine if this really is a SM bug, or if it's an amavis > problem. Examining the headers shows me what looks like to be malformed headers, > but I wanted to run it past all of you guys to see what you think. Thanks for the report. However, I don't see any problem. Perhaps someone from the Amavis project can point out what it is choking on? Have you asked there yet? > Thanks in advance for all your help! > > Mike > > The specific error is: > X-Amavis-Alert: BAD HEADER MIME error: error: SeveredPreamble: unexpected end of > preamble [in multipart message]; EOSToken: EOF; EOSType: EOF > > I've tested this with SM 1.4.6, 1.4.8, and 1.5.1 with the same results. I've made > sure that the amavis and supporting perl modules were up-to-date also, same results. > Here's an example of an email that causes the problem: > ---------------------------------------------------------------------------- > Return-Path: <> > Delivered-To: bad-header-quarantine > X-Envelope-From: <bebo@xxxxxxxxxxxxxxx> > X-Envelope-To: <bebo@xxxxxxxxxxxxxxx> > X-Quarantine-Id: <badh-20061019-091943-02015-01> > Received: from squirrel.morningside.edu (testbed.morningside.edu [192.168.0.104]) > by mta.morningside.edu (Postfix) with ESMTP id 937651AF282 > for <bebo@xxxxxxxxxxxxxxx>; Thu, 19 Oct 2006 09:19:43 -0500 (CDT) > Received: from 192.168.0.103 > (SquirrelMail authenticated user bebo) > by squirrel.morningside.edu with HTTP; > Thu, 19 Oct 2006 09:22:39 -0500 (CDT) > Message-ID: <40465.192.168.0.103.1161267759.squirrel@xxxxxxxxxxxxxxxxxxxxxxxx> > Date: Thu, 19 Oct 2006 09:22:39 -0500 (CDT) > Subject: testing with html > From: "Be Bo" <bebo@xxxxxxxxxxxxxxx> > To: bebo@xxxxxxxxxxxxxxx > User-Agent: SquirrelMail/1.5.1 > MIME-Version: 1.0 > Content-Type: multipart/mixed;boundary="----=_20061019092239_46584" > X-Amavis-Alert: BAD HEADER MIME error: error: SeveredPreamble: unexpected end of > preamble [in multipart message]; EOSToken: EOF; EOSType: EOF > > ------=_20061019092239_46584 > Content-Type: multipart/alternative; > boundary="3504fsu_trap_48564_93229091016002_=----" > Content-Transfer-Encoding: base64 > > --3504fsu_trap_48564_93229091016002_=---- > Content-Type: text/plain > Content-Transfer-Encoding: 8bit > > > > testing! > > > > TEsting > > --3504fsu_trap_48564_93229091016002_=---- > Content-Type: text/html; charset="iso-8859-1" > Content-Transfer-Encoding: 8bit > > testing!<br /> > <br /> > <div align="center">TEsting</div> > --3504fsu_trap_48564_93229091016002_=------ > > ------=_20061019092239_46584 > Content-Type: image/gif; name="php.gif" > Content-Transfer-Encoding: base64 > Content-Disposition: attachment; filename="php.gif" > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > -- > squirrelmail-users mailing list > Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines > List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx > List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user > List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 > List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users