procmail
[Top] [All Lists]

deb-user filter recipe

2002-10-13 23:51:53
Hi, this is my first post to the procmail list. Very nice program.
Here's what I'm trying to do: I'd like to take all the messages on
debian-user that have a subject of 'unsubscribe' with any capitalization
and toss them in /dev/null. The rest of the list traffic should go in
'debian-user'.
Here's what I've got so far:

#deb-user
:0
* ^X-Mailing-List:.*debian-user
{
        :0
        * ^Subject: unsubscribe
        /dev/null

        :0:
        debian-user
}

Now, I'm not sure how to make unsubscribe match 'Unsubscribe' or
'UNSUBSCRIBE'. Also, there's probably a simpler way to do the whole
recipe. (This is a first draft.)

Please don't 'dude, RTFM' me. I've not really found a good starting
point for procmail questions. For instance,
http://mutt.blackfish.org.uk/ is a great introduction to mutt.

Thanks in advance for tips.
-- 
Nick
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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