Subject: Problem with berzerk mailbox handling

From: [email-masked] (John Saunders)
Date: 17 Jun 1995 01:15:05 GMT

I have a problem using pine. It seems that sendmail sometimes doesn't place
a blank line between the last message and the 'From user@host <date>' line
that marks the beginning of the next message. Pine is able to correctly
locate the 'From user@host <date>' line but it removes the last NL character
from the previous message. Thus when the message is exported or piped to a
command (e.g. when using ftpmail), the last line isn't terminated with a
NL and causes all sorts of problems. The worst is when I tag 2 messages and
pipe them to a command, the first line of the 2nd message is concatinated
onto the last line of the 1st message.

So my question is, has anybody else seen this and possibly fixed (or hacked
it if sendmail is at fault) it. I believe the fix needs to be in the
c-client but I havn't found the correct place to add it. I simply want to
append a NL if the last character in the message isn't already a NL.

Thanks.
--      .     +------------------------------------------------------------+
    ,--_|\    | John Saunders  - (Home) [email-masked]            |
   /  Oz  \   |                - (Work) [email-masked]             |
   \_,--\_/   | "Mmmmmmmm beer..." - Homer Simpson                         |
         v    +------------------------------------------------------------+

---

From: Peter Svanberg <[email-masked]>
Date: Mon, 19 Jun 1995 01:10:15 +0200 (MET DST)

On 17 Jun 1995, John Saunders wrote:
> that marks the beginning of the next message. ...

Two things in connection with this:

(1) The on-the-fly created "From " line which is inserted when
    using the Export command has no space between the address
    and the date - bug, I suppose? Example:
        From [email-masked] Jun 19 00:49:33 1995

(2) It *would* be very nice (as I have said before) if there was
    a way to get a "From " line in the Pipe and/or Print command,
    to get a safe way for a postprocessing program to find the
    message boundaries.

Peter Svanberg, NADA, KTH, Stockholm, Sweden    <[email-masked]>

---

From: Mark Crispin <[email-masked]>
Date: Mon, 19 Jun 1995 20:08:15 -0700

> append a NL if the last character in the message isn't already a NL.

Try rebuilding Pine with the latest IMAP2bis toolkit, version 3.6.BETA,
from ftp.cac.washington.edu, mail/imap.tar.Z  Some bugs were fixed between
version 3.5 (which Pine 3.91 ships with) and 3.6

-- Mark --

DoD #0105, R90/6 pilot, FAX: (206) 685-4045  ICBM: N 47 39'35" W 122 18'39"
Science does not emerge from voting, party politics, or public debate.

---

From: Mark Crispin <[email-masked]>
Date: Mon, 19 Jun 1995 20:08:15 -0700

-- Mark --