procmail
[Top] [All Lists]

Re: Formail Field Extraction

2000-06-21 04:07:03
On Wednesday, 21.06.2000 at 02:37 -0600, SoloCDM wrote:

I want to extract a field in the header.  Although I tried the -x and
-X with formail, the outcome didn't remove the intended field -- it
removed all the other fields.

I think you are misunderstanding "extract" - it will "extract the
contents" of a particular header, not remove/delete it from the message,
which is what I suspect you want to do ...

Not quite sure off-hand how to actually remove a header - perhaps use,
e.g. 

formail -I "Subject: " to remove the subject, i.e. make it blank ...

Hope this helps.

Dave.
-- 
Dave Ewart
ewart(_at_)icrf(_dot_)icnet(_dot_)uk
Computing Manager
ICRF Cancer Epidemiology Unit, Oxford UK

_______________________________________________
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>