procmail
[Top] [All Lists]

Re: Use procmail to split nntp messages

2001-11-01 18:50:38
"David W. Tamkin" <dattier(_at_)ripco(_dot_)com> writes:

Use formail -ds (or -des if not all articles end with blank lines) instead
of just -s.  formail's -d option is for splitting input when there won't
always be a leading From_ line for each component message.

| Maybe something that would include the NNTP header:
| "Path: "

formail -ds recognizes a hardcoded set of headers, and Path: is among them.

Yikes, what a dope I am... I've been writing scripts and struggling
with this for a while.... Jeez... Thanks David.
I guess there is no cool way to strip the "From " header off before it
goes to its final resting place  ... eh?

Like if I wanted to push nntp files thru formail/procmail for the
splitting power but wanted to maintain the NNTP format.  I gues it
would have to be done after the fact.  After delivery, a script that
strips off the "From " header.
 
 
_______________________________________________
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>