> % D'oh. That's a job for procmail's MATCH and formail. No need for an
> % external program.
>
> Well, I thought about that, and formail is a called program at the same
> level as sed, but I didn't know how to strip part of the Subject: line
> with formail :-)
As always, I realised that "external program" thing only after sending :)
Formail doesn't strip the subject line. You tell procmail to extract the
relevant parts, and then feed the result to formail which rewrites the
headers.
It's more of a "use the right tool for this job" issue ...