procmail
[Top] [All Lists]

Re: trimming forwarded messages

2000-11-17 17:34:09
When Mark Crane posted that he uses this recipe,

C> :0 fhW
C>    | formail -k -X From: -X Subject

Rik Kabel answered,

K> The -k shouldn't be needed, since the h flag tells procmail to only
K> feed the head to the pipe.

Actually, -k is vital there.  It preserves the blank line at the neck if you
filter only the head through formail -x or -X.  Otherwise, if the first line
of the body has the same format as a legitimate header line, or if it is
indented, it would be treated as part of the head for subsequent recipes.

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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