procmail
[Top] [All Lists]

Message folder "separator" (was: Unidentified subject!)

1997-04-16 05:49:00
On Wed, 16 Apr 1997 09:59:51 GMT,
revjack(_at_)Radix(_dot_)Net (revjack(_at_)radix(_dot_)net) wrote:
What is the message separator in a standard unix mail folder? All I
see between messages in folders is a blank line, and I don't know of
any way to look for control characters. How does Pine, for example,
know where one message ends and the next one begins? I'll need to know
this if I am going to use a custom script to deliver mail to a folder.

If you are being fed a message from Procmail, it is already in the
correct format; no need to mess around with it. Just append to the
file. 

The message "separator" is the zero-byte boundary immediately before a
line beginning with "From" -- i.e. you could say the From_ line is the
message separator in Berkeley mbox format. (There is no such thing as
a "standard unix mail folder" but the Berkeley format comes close.)

/* era */

-- 
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r.  <http://www.iki.fi/~era/>
 * Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>

<Prev in Thread] Current Thread [Next in Thread>