procmail
[Top] [All Lists]

Re: procmailrc problem...

1995-12-05 14:08:15
Steve Wilcoxon asked,

| In the below .procmailrc file,  ..  procmail ...  puts the BODY of the
| message in the inbox mh folder ...  What is happening to the header of the
| message?

|         :0 hfwc
|         | /usr/contrib/bin/gzip >> $HOME/.procmail/who.gz

As Stephen has posted, the `f' flag is the problem.  `f' says "replace the
text with the standard output of the program"; so first, `c' is extraneous
there, and second, there is no returning standard output, because you have
directed it to a file.

Since you have the `h' flag there, only the head is filtered (and replaced
with nothingness because the program redirects standard output), so you still
have the body remaining for procmail to use in later recipes.

So, as Stephen said, remove the `f' flag.  You don't want it there.

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