procmail
[Top] [All Lists]

Re: getting rid of all but certain headers

1997-10-08 22:25:47
On Wed, 8 Oct 1997, Timothy J Luoma wrote:

Is there a way to have procmail/formail strip all but a certain set
of headers that I would define somewhere? 

I use ( formail -z -I"fieldname" ) to zap unwanted fields. You don't
have to use the entire fieldname. Simply -I"X" will zap any field
begining "X".  Just be careful to not zap something important.
-David
        :0 f
        | formail -z -I"Co" -I"M" -I"N" -I"O" -I"P" -I"R" \
        -I"Se" -I"St" -I"V" -I"X"


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