Fragmented message bug with malformed emails

PSI Mailbag mailbag at
Wed Apr 1 22:07:59 IST 2009

Hey Jules (+list),

 I've got a potentially annoying bug for you.. :-P

 I have a few client MFD's that do scan to email, which occasionally
break up the message into multiple fragments if the scan is too large.
Some of these scanners (specifically various Ricoh Aficio models) send
badly formatted emails (see attached example) which used to be blocked
properly in older versions of MS (4.62.9 as an example), but are not
reported properly in the newer releases (4.74.16, etc). The emails
basically contain extra spacing, which caused some of the fields to
double up (From, To, Content-Type, etc).

 This issue is only coming up for me now, as I've recently upgraded to a
newer release (at the time), so I'm not sure exactly where in the line
this functionality broke. Based on the change log, I assume this is from
the changes in 4.71.10.

 When these messages are processed, MS does detect them properly as a
fragmented message, but the admin notification contains a blank "Report"
section, and the user receives a copy of the entire email as an
attachment (including the fragmented MIME content) instead of the
warning notification. I assume the code to remove only the partial
message section of the email is choking on the bad format. Messages that
are sent with proper formatting are detected and reported properly.

 The "appropriate" fix is for the scanners to format their emails
properly, but I have this same issue originating from multiple device
models from multiple clients.

 If you don't mind, could you add it to your todo list? ;-)


Joshua Hirsh
Technical Specialist
Partner Solutions Inc.
PGP/GnuPG ID: 0xD12A3B59
-------------- next part --------------
Received: from RNPC22D85 (unknown [])
	by (Postfix) with SMTP id 63D5D746520
	for <receiver at>; Mon, 30 Mar 2009 14:09:42 -0400 (EDT)
Subject: part 1/2
From: "isabelle m" <receiver at>
To: "isabelle m" <receiver at>
Date: Mon, 30 Mar 2009 14:09:43 -0500
Message-Id: <200903301409412V.DCSML-S001930001.000074C22D85 at>
MIME-Version: 1.0
Content-Type: message/partial;

From: "isabelle m" <receiver at>
To: "isabelle m" <receiver at>
Date: Mon, 30 Mar 2009 14:09:43 -0500
Message-Id: <200903301409412V.DCSML-S001930000.000074C22D85 at>
MIME-Version: 1.0
Content-Type: multipart/mixed;

This is a multi-part message in MIME format.
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

This E-mail was sent from "RNPC22D85" (Aficio MP C2500).

Scan Date: 03.30.2009 14:09:40 (-0500)
Content-Type: application/pdf; name="20090330140941089.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;


More information about the MailScanner mailing list