From: George Gallen <ggallen () slackinc ! com>
To: tru64-unix-managers
Subject: SUMMARY: Re:/usr/spool/mail files
Date: Tue, 18 Nov 1997 15:19:51 +0000 [thread overview]
Message-ID: <96078619210521.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~1997-11-18 15:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox