>In order to improve my knowledge of C/C++, I'm about to write a little utility
>for Yarn-Souper. The problem is, before starting, to understand Souper packets
>format; they come like:
>
>>From POPmail Sun Jun 30 23:06:10 1996
>>X-POP3-Rcpt: albe@pinerolo
>>Return-Path: <owner-yarn-list@lists.Colorado.EDU>
>[.....]
>
>How to identify the beginning of a message is a Souper packet, is it just the
>"From POPmail" string? Just the "From"? Isn't that a problem, if a message
>contains a line beginning with "From" ?
Have a look at http://www.eden.com/%7ecombee/soup12.html. This page
documents the format of SOUP packets. I think the answer to your
question is found on that page.
A 'm' (Unix mailbox) message file is a text file
consisting of one or more messages. The first line of
each message must start with the character sequence
"From ". Any remaining lines in the message which start
with "From " should have the character '>' prepended.
Thus the "From " lines delimit the message file into
separate messages.
Good luck with your project.
-- Jim Fowler InfoBear@infobear.com http://www.infobear.com/