Subject: Problem with MIME attachments in PC-Pine

From: David Sitman <[email-masked]>
Date: Wed, 26 Dec 2001 10:32:32 +0200 (Jerusalem Standard Time)

Most of our PC-Pine users (various versions of PC-Pine 4.XX) are
experiencing problems when they send mail attachments. The "boundary="
string as it appears in the "Content-type" header is different from the
string in the body of the message. As a result, the recipient's mail
program sees the message as malformed or empty, the text body can not be
read and the attachments can not be opened.

Any ideas what's causing this and how the problem can be overcome?

Thanks,

David Sitman
Tel Aviv University

Here is an example:
----
>From [email-masked] Wed Dec 26 09:57:01 2001 +0200
Status: R
Date: Wed, 26 Dec 2001 09:56:56 +0200 (Jerusal
From: David Sitman <[email-masked]>
To: [email-masked], <[email-masked]>
Subject: testing attachments
<[email-masked]>
X-X-Sender: [email-masked]
X-Sanitizer: This message has been sanitized!
X-Sanitizer-URL: http://mailtools.anomy.net/
X-Sanitizer-Rev: $Id: Sanitizer.pm,v 1.32 2001/10/11 19:27:15 bre Exp $
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; boundary="=?iso-8859-1?B?NTQwODc0MS0xMjQ4LTEwMDkzNTM0MTY9OjE4Njg=?="

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to [email-masked] for more info.

--5408741-1248-1009353416=:1868
Content-Type: TEXT/PLAIN; charset=US-ASCII

test...

--5408741-1248-1009353416=:1868
Content-Type: APPLICATION/octet-stream; name="os047066.bin"
Content-Transfer-Encoding: BASE64
Content-ID: <[email-masked]>
Content-Description:
Content-Disposition: attachment; filename="os047066.bin"

--5408741-1248-1009353416=:1868--

---

From: Mats Dufberg <[email-masked]>
Date: Thu, 27 Dec 2001 00:23:48 +0100 (CET)

> read and the attachments can not be opened.

(...)
> Content-Type: MULTIPART/MIXED; boundary="=?iso-8859-1?B?NTQwODc0MS0xMjQ4LTEwMDkzNTM0MTY9OjE4Njg=?="
(...)
(...)

It looks like the boundary in the header has been converted to Base64 in
the header, though against the protocol as far as I know. Is that the
fault of pine, or is the mail altertered on its way.

What is the "Sanitizer"? What does that do?

How does the mail look like in "sent-mail"?

Mats

-----------------------------------------------------------------
Mats Dufberg                                 [email-masked]
Blåarvsgränd 42                                    +46-8-38 48 59
SE-162 45 Vällingby, Sweden                       +46-70-258 2588

---

From: Mark Crispin <[email-masked]>
Date: Fri, 28 Dec 2001 12:05:57 -0800 (PST)

Check your mail transfer and mail delivery software including virus
checking software.  It looks like something is (incorrectly) changing the
boundary delimiter generated by Pine into a quoted-printable word prior to
delivery.  I suspect that it is external to Pine.

> Content-Type: MULTIPART/MIXED; boundary="=?iso-8859-1?B?NTQwODc0MS0xMjQ4LTEwMDkzNTM0MTY9OjE4Njg=?="

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.