procmail
[Top] [All Lists]

Re: global filtering?

1997-01-25 20:50:42
On Sat, 25 Jan 1997 21:20:35 -0500 (EST) dmuth(_at_)ot(_dot_)com (Doug Muth) 
wrote:

      is there any way to filter ALL incoming e-mail before my the
first of my "usual" procmail recipes?  What I'm looking to do is pipe

I'm not sure I understand the question.  What's wrong with adding
another procmail recipe *before* the others to accomplish this
filtering?  Something like:

# This feeds the message header through grep to remove the content-type 
# header.  The 'f' says that this recipe is a filter, not a delivering
# recipe.

:0fh
| grep -v "^Content-type:"

And then put the rest of your recipes here.

-- Lars

---
Lars Kellogg-Stedman * lars(_at_)bu(_dot_)edu * (617)353-8277
Office of Information Technology, Boston University

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