Jerry Amundson writes:
Correct. In this first sample, sent via Courier 0.42.2, the 3rd, 4th, 5th and 6th LF characters (=0A) have CR (=0D) preceding them when they should not. Sample 2 shows the data sent properly, on Courier 0.40.1, which I downgraded to today.
Courier never generates =0A when creating quoted-printable content.
The =0D is being inserted into the already encoded q-p MIME section.
Wherever this message came from, it was not encoded by Courier. You may see the logic yourself in rfc2045/rfc2045encode.c:
if ( *p == '\n') info->input_buf_cnt=0; else if (*p < ' ' || *p == '=' || *p >= 0x7F) { QPUT('='); QPUT(xdigit[ (*p >> 4) & 15]); QPUT(xdigit[ *p & 15 ]);
It, therefore, is logically impossible for Courier to generate this content.
--BEGIN SAMPLE 1--
filename="WASHDC.pdf"
X-Mime-Autoconverted: from quoted-printable to quoted-printable by courier 0.42.2
And, as I recall, I already pointed out that this header indicates that the original message, as received by Courier, already had invalid MIME encoding.
The original MIME encoding is fine.
So, you have some other unknown factor involved here.
I can reproduce this *every time* I use the 0.42.2 rpm's, but *never* with the 0.40.1 rpm's, and the destination *is not* an Exchange server.
I set ARCHIVEDIR to capture everything being delivered. The captured data file has the original MIME boundaries in place, and when copied to a maildir has a perfectly readable attachment.
When the same message gets to it's destination, Courier has replaced the MIME boundaries, and added the X-Mime-Autoconverted header line, as noted above. The MIME section for the attachment has =0D's added to it at this point, and it's corrupted.
If you need me to test anything further, let me know.
Thanks, jerry
-- Jerry Amundson Publishing Business Systems, Inc. [EMAIL PROTECTED] 2611 Hamline Avenue North (651) 639-2730 Voice Suite 100 (651) 639-0306 FAX St. Paul, MN 55113
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
