procmail
[Top] [All Lists]

getting rid of the body, keepin the header

1997-03-19 08:37:22

This may be an easy question, but I cannot seem to find the answer.

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.

So, when the messages arrive at my ISP account (with procmail) I'd  
like to dump the body and keep the headers so when I d/l the message  
to my home machine I don't have to waste time d/l the body that  
will be thrown away when it arrives here (on my local machine, where  
I parse the subject and dump the message).

Pointers welcome

Thanks!TL