procmail
[Top] [All Lists]

Re: Conflict between c flag and filter

2002-08-27 12:02:34
On Tue, 27 Aug 2002, Udi Mottelo wrote:

      is infected by virus, I want to save its header in other file.
      It is not problem to get the header:

:0 fhw
|cat > filename

That does two things.  It first saves the header to a file, but then acts
as a filter.  Since cat doesn't return anything, the message continues
through procmail, with only a body, I believe.

There is no reason to use "f" on this--what I think you want, is:

:0 hc
filename

or even:

:0 hc
| cat > filename

Luke



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