Community Discussions and Support
Problem parsing MIME Digests

I'm not sure if this is the same problem but it seems that this explanation from Nick may shed some lights in. The text below is from PM-WIN@LISTSERV.UA.EDU archives.

[quote]Several "gurus" have looked at this several times.

The problem is obvious.

_Arguably_ RFC-correct multi-part messages with more than (from memory)
two levels of nesting and constructed in one of two (or more) legally
possible ways (that is where the arguments will start!  8-) ) are NOT
seen by PMail to have "closed" the "last level" of one of the MIME
level structures, when in fact, it has.  My _guess_ is that PMail then
scans through the rest of the digest looking for what it considers the
"missing" MIME part closure header.  It seems that the  parser is dead-
set that the next "MIME part header thing" it should see is this
"missing" part and thus it _ignores_ all the other MIME component part
start and end headers that exist from the point the PMail parser
errors, thus does not "see" any messages in the digest _after_ the
message in which this parsing error occurs.  As the digest summary
message -- the one that looks something like:

   There are 13 messages totaling 1058 lines in this issue.

   Topics of the day:

     1. smtp relay host
     ...
     6. PMAIL Digest - 4 Jan 2012 to 5 Jan 2012 (#2012-6)

-- is always the first message in the digest and (so far) always
produced in a format that cannot trigger this bug (it is a single-part,
text/plain-only Content-Type message) you can always see the correct
listing and count of the messages that the BAMA digester put into the
digest, but then may only see from 1-N (where N is the number from the
"There are 13 messages ..." sentence in the example above) messages
listed.  If you drop into "raw view" while reading the digest _and_ in
the message list viewer, you can see that all messages promised from
the digest summary are present, but as just described, PMail will not
actually list any of them (nor provide you any other way of seeing
them, other than "raw view") after the first message in the digest that
has this "imagined" MIME non-conformance issue.

In the last 4 or 5 years (maybe longer -- anyone keeping count?) this
has been noticed, replicated, analysed, and described on this list
multiple times, but never addressed in any updates.

It may well NOT be an easy fix, as the MIME component parser is
probably fairly crucial to a _lot_ of PMail internals and changing it
now may produce a whole lot of hurt (if nothing else, the beta testers
will presumably have to re-do a huge amount of message conformance
testing).



Regards,

Nick FitzGerald
[/quote]

Hope it helps. [:)]

<p>I'm not sure if this is the same problem but it seems that this explanation from Nick may shed some lights in. The text below is from PM-WIN@LISTSERV.UA.EDU archives. </p><p>[quote]Several "gurus" have looked at this several times. The problem is obvious. _Arguably_ RFC-correct multi-part messages with more than (from memory) two levels of nesting and constructed in one of two (or more) legally possible ways (that is where the arguments will start!  8-) ) are NOT seen by PMail to have "closed" the "last level" of one of the MIME level structures, when in fact, it has.  My _guess_ is that PMail then scans through the rest of the digest looking for what it considers the "missing" MIME part closure header.  It seems that the  parser is dead- set that the next "MIME part header thing" it should see is this "missing" part and thus it _ignores_ all the other MIME component part start and end headers that exist from the point the PMail parser errors, thus does not "see" any messages in the digest _after_ the message in which this parsing error occurs.  As the digest summary message -- the one that looks something like:    There are 13 messages totaling 1058 lines in this issue.    Topics of the day:      1. smtp relay host      ...      6. PMAIL Digest - 4 Jan 2012 to 5 Jan 2012 (#2012-6) -- is always the first message in the digest and (so far) always produced in a format that cannot trigger this bug (it is a single-part, text/plain-only Content-Type message) you can always see the correct listing and count of the messages that the BAMA digester put into the digest, but then may only see from 1-N (where N is the number from the "There are 13 messages ..." sentence in the example above) messages listed.  If you drop into "raw view" while reading the digest _and_ in the message list viewer, you can see that all messages promised from the digest summary are present, but as just described, PMail will not actually list any of them (nor provide you any other way of seeing them, other than "raw view") after the first message in the digest that has this "imagined" MIME non-conformance issue. In the last 4 or 5 years (maybe longer -- anyone keeping count?) this has been noticed, replicated, analysed, and described on this list multiple times, but never addressed in any updates. It may well NOT be an easy fix, as the MIME component parser is probably fairly crucial to a _lot_ of PMail internals and changing it now may produce a whole lot of hurt (if nothing else, the beta testers will presumably have to re-do a huge amount of message conformance testing). Regards, Nick FitzGerald [/quote]</p><p>Hope it helps. [:)] </p>

-- Euler

Pegasus Mail 4.81.1154 Windows 7 Ultimate
IERenderer: 2.7.1.5 AttachMenu: 1.0.1.2
PMDebug: 2.5.8.34 BearHTML 4.9.9.6

I am a longtime user of PMAIL going back to DOS days. I love the ability to read MIME Digests, and I love the way PMAIL handles them. However, one particular list I subscribe to regularly fails to display all the messages in the digest.

Double-clicking the digest in my inbox will oipen a window containing the title information about the digest, and a list of SOME of the messages, always including the earliest message in the digest and a variable number more. I can read all those displayed in PMAIL, but no more. For example, a recent issue of the AMDIS list showed the header plus 2 more messages. Double-clicking the header message will show me the actual summary contained in the digest, thusly:

There are 9 messages totaling 3508 lines in this issue.

Topics of the day:

1. Archiving existing EHR due to conversion to different EHR

2. positive patient ID

3. Protocols and Assigned Status (2)

4. Protocols and Assigned Status (No PHI) (4)

5. Shared Domains with Hospital and Private Ambulatory Clinics

############################

 I can only see the remaining contents in "Raw view" which of course contains a ton of html and other code.

 The only unifying feature in these digests I see is that all contain attachments or messages encoded in "base64." Is there some known bug parsing base64 in 32-bit Pmail? Is there a known workaround?

 I'm using WinPMail version: Version 4.63 (Win32), Dec 22 2011, build ID 325 on Windows 7sp1 32-bit, fully patched.

 Any ideas much appreciated.

David English 

<p>I am a longtime user of PMAIL going back to DOS days. I love the ability to read MIME Digests, and I love the way PMAIL handles them. However, one particular list I subscribe to regularly fails to display all the messages in the digest. </p><p>Double-clicking the digest in my inbox will oipen a window containing the title information about the digest, and a list of SOME of the messages, always including the earliest message in the digest and a variable number more. I can read all those displayed in PMAIL, but no more. For example, a recent issue of the AMDIS list showed the header plus 2 more messages. Double-clicking the header message will show me the actual summary contained in the digest, thusly:</p><font size="2"><blockquote><p align="LEFT">There are 9 messages totaling 3508 lines in this issue.</p><p> Topics of the day:</p><p> 1. Archiving existing EHR due to conversion to different EHR</p><p> 2. positive patient ID</p><p> 3. Protocols and Assigned Status (2)</p><p> 4. Protocols and Assigned Status (No PHI) (4)</p><p> 5. Shared Domains with Hospital and Private Ambulatory Clinics</p><p> ############################</p></blockquote></font><p> I can only see the remaining contents in "Raw view" which of course contains a ton of html and other code. </p><p> The only unifying feature in these digests I see is that all contain attachments or messages encoded in "base64." Is there some known bug parsing base64 in 32-bit Pmail? Is there a known workaround?</p><p> I'm using WinPMail version: Version 4.63 (Win32), Dec 22 2011, build ID 325 on Windows 7sp1 32-bit, fully patched.</p><p> Any ideas much appreciated.</p><p>David English  </p>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft