Mailscanner halting on multi-part mime

Julian Field mailscanner at ecs.soton.ac.uk
Tue Feb 25 14:27:40 GMT 2003


Can you try this little test please? Save this into a file and then run 
perl with the filename.

use FileHandle;
$path = '2003 Southeast ächure - B&W.pdf';
print "Path is $path\n";
$IO = FileHandle->new(">$path") || die "write-open $path: $!";

I just tried this on a MacOS X box and it worked. "uname -a" on this 
machine said this:
Darwin shaka 6.3 Darwin Kernel Version 6.3: Sat Dec 14 03:11:25 PST 2002; 
root:xnu/xnu-344.23.obj~4/RELEASE_PPC  Power Macintosh powerpc

Also, can you try changing the accented "a" to a normal plain "a" and put 
the message in the incoming queue again to see if it gets processed happily 
this time?

At 14:12 25/02/2003, you wrote:
>Hello,
>      Yesterday I had mailscanner get caught on a message, giving the 
> following error, and not processing any messages.  Thought it might be 
> important to know about:
>
>Feb 24 16:56:47 mail MailScanner[21347]: Cannot parse 
>/private/var/spool/MailScanner/incoming/21347/h1OLudRN002024.header and , 
>write-open /private/var/spool/MailScan
>ner/incoming/21347/h1OLudRN002024/2003 Southeast  chure - BW.pdf: Invalid 
>argument at /Library/Perl/MIME/Body.pm line 414.
>
>      I checked out Body.pm at that part, and it appears to be a section 
> called MIME::Body::Scalar.  Perhaps the body was too big to fit in a 
> scalar value?  I'm not a perl expert though, so I wasn't sure, perhaps 
> it's the unusual character in the attachment name.  I'm running Mac OS X 
> 10.2.3, Sendmail 8.12.6, and MailScanner 4.12-2.  Here is the culprit 
> email, which I eventually just moved to the outgoing queue to get the 
> incoming one to process again.
>
>Thanks,
>Dan
>
> >From mayerj at mayer-johnson.com  Mon Feb 24 22:09:02 2003
>Return-Path: <mayerj at mayer-johnson.com>
>Received: from marlborough.xo.com (marlborough.xo.com [207.155.248.73])
>         by mail.ortn.edu (8.12.6/8.12.6) with ESMTP id h1OLudRN002024
>         for <xxxxx at ortn.edu>; Mon, 24 Feb 2003 16:56:40 -0500 (EST)
>Received: from [192.168.1.77] ([65.107.37.82])
>         by marlborough.xo.com
>         id PAA16132; Mon, 24 Feb 2003 15:13:49 -0500 (EST)
>         [ConcentricHost SMTP Relay 1.15]
>Errors-To: <mayerj at mayer-johnson.com>
>User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022
>Date: Mon, 24 Feb 2003 12:17:52 -0800
>Subject: AAC Workshop in the Southeast
>From: "Mayer-Johnson, Inc." <mayerj at mayer-johnson.com>
>To: SE CAMA <mayerj at mayer-johnson.com>
>Message-ID: <BA7FBDEF.40A0%mayerj at mayer-johnson.com>
>Mime-version: 1.0
>Content-type: multipart/mixed;
>    boundary="MS_Mac_OE_3128933872_1168650_MIME_Part"
>
> > This message is in MIME format. Since your mail reader does not understand
>this format, some or all of this message may not be legible.
>
>--MS_Mac_OE_3128933872_1168650_MIME_Part
>Content-type: multipart/alternative;
>    boundary="MS_Mac_OE_3128933872_1168652_MIME_Part"
>
>
>--MS_Mac_OE_3128933872_1168652_MIME_Part
>Content-type: text/plain; charset="US-ASCII"
>Content-transfer-encoding: 7bit
>
>Dear AAC Professional,
>
>There is an AAC workshop presented by Communication Aid Manufacturers
>Association (CAMA) coming to the Southeast during the week of March 3, 2003.
>Please review the attached document.  For more information, please visit the
>CAMA web site at www.aacproducts.org.
>
>Thank you.
>
>Mayer-Johnson, Inc.
>P.O. Box 1579
>Solana Beach, CA 92075-7579
>U.S.A.
>Phone: 800-588-4548 or 858-550-0084
>FAX: 858-550-0449
>Email: mayerj at mayer-johnson.com
>Website: www.mayer-johnson.com
>
>
>
>--MS_Mac_OE_3128933872_1168652_MIME_Part
>Content-type: text/html; charset="US-ASCII"
>Content-transfer-encoding: quoted-printable
>
>Dear AAC Professional,
>
>There is an AAC workshop presented by Communication Aid Manufacturers 
>Assoc= iation (CAMA) coming to the Southeast during the week of March 3, 
>2003. &nbs=
>p;Please review the attached document.  For more information, please vi= 
>sit the CAMA web site at www.aacproducts.org.
>
>Thank you.
>
>Mayer-Johnson, Inc.
>P.O. Box 1579
>Solana Beach, CA 92075-7579
>U.S.A.
>Phone: 800-588-4548 or 858-550-0084
>FAX: 858-550-0449
>Email: mayerj at mayer-johnson.com
>Website: www.mayer-johnson.com
>
>
>
>--MS_Mac_OE_3128933872_1168652_MIME_Part--
>
>
>--MS_Mac_OE_3128933872_1168650_MIME_Part
>Content-type: application/pdf; name="2003 Southeast ächure - B&W.pdf";
>  x-mac-creator="4341524F";
>  x-mac-type="50444620"
>Content-disposition: attachment
>Content-transfer-encoding: base64
>
>
>(pdf content removed)
>
>
>--MS_Mac_OE_3128933872_1168650_MIME_Part--

-- 
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support




More information about the MailScanner mailing list