hMailServer IssueTracker

Display defect

ID
312
Short summary Corrupt attachment quoted-printable
Created 2010-06-01 22:09:47
Created by Bill48105
Status Resolved
Priority 2 - High
Quick link

Applies to

Found in 5.3.3 build 1846
Resolved in 5.3.3 build 1879

Problem

There appears to be bug in hMail where it corrupts attachments downloaded by client via POP3 (IMAP is OK) or relayed on via SMTP. POP bug is 100% reproducible with text-like PDF sent from Outlook or Outlook Express where it encodes with quoted-printable instead of base64. (Original poster says it happens via SMTP out too) Same attachment sent via Thunderbird is OK (B64 instead of QP) but corruption occurs with any client receiving it. Corruption does not exist in raw EML file stored in hmail user folder. Only after downloaded via POP3 or sent on via SMTP.

Appears to be dot stuffing issue but dots added where dot is not 1st char of line or preceeded by \n. Almost as if strange buffer breaks are the issue making hMail think it's new line when it's not or perhaps full buffer being flushed..

More here:
http://www.hmailserver.com/forum/viewtopic.php?f=6&t=17751

Issue steps

By Bill48105, 2010-06-06 16:19:49

Updated thread with "Allow incorrectly formatted line endings" info (doesn't seem to matter if it's checked) and link to OP sample pdf's zipped. In 7th post in thread or:
http://www.carax.de/pdf/2-files.zip
Included original.pdf opens fine in Adobe Acrobat Reader but once emailed from Outlook Express then downloaded via POP3 with any email client it becomes corrupted & won't render properly in Adobe Acrobat Reader just like included corrupt.pdf.


By Bill48105, 2010-06-07 04:37:07

This appears to be fixed in today's 5.3.3 B1876 build based on repeating previous tests. Continuing with further testing but so far looking good.


You must be logged on to add a step. Log on now.