On Sun, May 28, 2006 at 03:56:50PM -0700, Gary Funck wrote:
As it turns out, "formail -s" will place a '>' in front of the
second From_, apparently because there is no intervening new line
to terminate the message body? However, the Content-Length of
42 on the first message is apparently correct in that it counts
the 42 characters in the message (not inclusive of the final new
line).
Have you read "man formail"? Pay particular attention to the
following formail options and decide which of them you need to
solve your problem:
-b, -Y, -d, -e
Excerpted from the fine man page:
-b Don't escape any bogus mailbox headers (i.e., lines starting with
`From ').
-Y Assume traditional Berkeley mailbox format, ignoring any Content-
Length: fields.
-e Do not require empty lines to be preceding the header of a new
message (i.e., the messages could start on every line).
-d Tell formail that the messages it is supposed to split need not be
in strict mailbox format (i.e., allows you to split digests/arti-
cles or non-standard mailbox formats). This disables recognition
of the Content-Length: field.
dman
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail