Sean answered Volker,
Then there's the little matter that you're claiming you don't know the
header name -- so how is it that you can include the header anchor
above? If you KNOW the header is "Header:", then you could simply specify
that to formail when you actually invoke it.
What Volker said was that the header name is not unique. I can take
that one of two ways:
Every time this piece of crud shows up, the header it's in has a
different name. For example,
Thisheader: lots of stuff
and ihateyourgutsaNdwanttokillyou have a nice day
but the next message with it is like this:
Thatheader: the sun is shining
and ihateyourGutsandwanttokillyou see you tomorrow
OR ...
It has the same name as a legitimate header line, and Volker wants to
take out only the bogus one but keep the legitimate one with the same
name. formail -I Headername: will remove both.
In either case, my only suggestion is this:
:0fwh
| formail -c | grep -vi 'offendingstring'
____________________________________________________________
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