procmail
[Top] [All Lists]

Re: getting rid of the body, keepin the header

1997-03-19 13:58:08
On Wed, 19 Mar 97 10:31:00 -0500,
"Timothy J. Luoma" <luomat(_at_)peak(_dot_)org> wrote:
I am on a certain SPAM-fighting list that generates a lot of email   
All I really want or need is the SUBJECT lines from theses  
messages.  The body can go to /dev/null.

:0h:
* Your average condition stuff here
| grep '^Subject: ' >>subjects-file

/* era */

-- 
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r.  <http://www.iki.fi/~era/>
 * Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>