[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: procmail recipe needed



Alec wrote:

> I want send all messages from mailing@list.com to /dev/null except for those 
> that contain (case insensitive) "keyword" in its subject. How can I do this?

I haven't tested this, but it should do the job:

:0:
* ^From:.*mailing@list\.com
* !^Subject:.*keyword
/dev/null

You may have to change "From" to something else, depending on what
header the address mailing@list.com is found in. Look at the complete
set of headers on one of the messages from that address to figure it
out.

Craig



Reply to: