SUMMARY: Re:/usr/spool/mail files

From: George Gallen <ggallen_at_slackinc.com>
Date: Tue, 18 Nov 1997 10:19:51 -0500

original message:

How does the mail program know the end of one piece of mail and the
beginning
of the next?

Does it look for "Received from:" to signal the start? what if that were
imbedded in
the message?

Or is there a byte count internal to the message ID?

Does anyone know where I could get source to a mail display program that
would
show how it parses the /usr/spool/mail files? I'm attempting to write a
front end
mail display program to integrate with our other programming (in PICK).
I'm not
looking for 3rd party, as I will be needing very customized integration.

Thanx
George Gallen
ggallen_at_slackinc.com


RESULTS:

Apparantly what I needed to know was that anytime the combination "From
"
starts on a line that is not from the header it will have the ">" added
to the front.
So looking for "From " at the beggining of the line is what is used for
parsing.

Intresting that "from ", "from: ","From: " are not escaped with the ">",
it is very
specific of Uppercase F, lowercase rom then a space.

www.washington.edu/pine/ was suggested as a source for pine (the source
I
was looking for).


Thanx to
Lucio Chiappetti
Elliot Smorodinsky
Received on Tue Nov 18 1997 - 16:50:57 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT