Subject: BASE64 encoding corrupted by sendmail

From: Lars Hoel <[email-masked]>
Date: Mon, 21 Apr 1997 17:44:49 +0200

Hi

We are running the pre-compiled Pine 3.93 for HP-UX 9.* together with
HP's PHNE_8370 'cumulative Sendmail patch'.

We have encountered errors in the BASE64 encoded MIME attachments
when sending a mail through the local Unix machine's Sendmail daemon.
This results is corrupted attachments seen as an irregular pattern 
in the BASE64 -code (some code lines longer than expected).
It is not possible to decode these mail's.

BUT, if the same mail is sent via Sendmail on another HP-UX box 
(identical Sendmail config. & "smtp-server=" activated), the 
transmission is error-free.

In both cases, the encoded mail stored in the 'sent-mail' -folder
looks ok.

Any suggestions ?

Best regards

Lars Hoel

********************************************************************
* Lars Hoel                                   Siemens AS           *
* Sys Admin/ MGC Support/ PCB design          Telecom dept.        *
* Email: [email-masked], [email-masked]   P.o. box 10, Veitvet *
* Fax  :   +47 22 633671                      N-0518  OSLO         *
* Phone:   +47 22 633544                      NORWAY               *
********************************************************************

---

From: Richard Gering <[email-masked]>
Date: Mon, 21 Apr 1997 17:26:28 +0100 (WET)

> transmission is error-free.

There was a known problem with lengthy attachments in Pine 3.93, were
timing was a critical issue (the EINTR problem for the knowledgeably
curious). This can also explain why changing the Sendmail server "appears" 
to fix the problem (due to faster/slower transport). 

> In both cases, the encoded mail stored in the 'sent-mail' -folder

This is in accordance to the bug just mentioned, as are the code lines
that are longer than expected. The data gets corrupted in the loop that
feeds sendmail, so all local copies of the message remain in tact.

> Any suggestions ?

You probably guessed it by now: upgrading to the latest version of Pine
(currently 3.96) should fix your problems. 

Best regards,

- Richard Gering.

-- 
+-----------------------------------------------------------------------------+
| Richard Gering ([email-masked]) |  In an open world you don't need gates  |
| CI International. The Netherlands |      (Open minds use Open Systems)      |
+-----------------------------------------------------------------------------+