Fragmented message bug with malformed emails

PSI Mailbag mailbag at partnersolutions.ca
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? ;-)

 Cheers

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

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

This is a multi-part message in MIME format.
--DC_BOUND_PRE_<1238440181.000074c22d85>
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)
--DC_BOUND_PRE_<1238440181.000074c22d85>
Content-Type: application/pdf; name="20090330140941089.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="20090330140941089.pdf"

JVBERi0xLjQKJRamipIKNCAwIG9iago8PC9UeXBlL1hPYmplY3QKL1N1YnR5cGUvSW1hZ2UK
L1dpZHRoIDIyMDAKL0hlaWdodCAxNzAwCi9CaXRzUGVyQ29tcG9uZW50IDgKL0NvbG9yU3Bh
Y2UvRGV2aWNlUkdCCi9GaWx0ZXIgL0RDVERlY29kZQovTGVuZ3RoIDI4ODMxOAo+PgpzdHJl
YW0K/9j/4AAQSkZJRgABAQEAyADIAAD/2wBDABQODxIPDRQSEBIXFRQYHjIhHhwcHj0sLiQy
SUBMS0dARkVQWnNiUFVtVkVGZIhlbXd7gYKBTmCNl4x9lnN+gXz/2wBDARUXFx4aHjshITt8
U0ZTfHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHz/


More information about the MailScanner mailing list