tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Re:/usr/spool/mail files
@ 1997-11-18 15:19 George Gallen
  0 siblings, 0 replies; only message in thread
From: George Gallen @ 1997-11-18 15:19 UTC (permalink / raw)
  To: tru64-unix-managers

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@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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-11-18 15:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-18 15:19 SUMMARY: Re:/usr/spool/mail files George Gallen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox