On Wed, 26 Dec 2001, David T-G wrote:

> Your MDA will also escape any ^From_ in the body to avoid confusion with
> a message separator line -- if it's delivering to an mbox file.

That doesn't seem to be true. For example, in one of my sent-mail files
from pine, I saw this line (there was no ">" before it):

>From 66.28.28.22: Destination Host Unreachable

pine knows not to recognize it as a "From" line, so I'm thinking that pine
makes sure that it also has a date like "Mon Nov 26 06:33:50 2001" on it.
My current best guess for a regexp to match a message separator line is
this:

/^From (\s*[^ ]+\s+... ... .. ..:..:.. ....)/

but I'm wondering if there might be obscure cases in which it breaks.

Reply via email to