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

Re: [OT] procmail rule to remove annoying unsubscribe/subscribe emails



Sven Hoexter wrote:

On Mon, Apr 12, 2004 at 11:14:27AM -0400, Allan Wind wrote:
On 2004-04-12T16:06:06+0100, Michael Graham wrote:
I was wondering if anyone had written a procmail rule to filter out
emails with the subject unsubscribe or subscribe which have been sent to
the debian-* lists. Preferably messages like mine will still be seen
i.e. ones that have other words not just subscribe.
This is what I use:

:0
* ^Subject: (un)?subscribe
* ! ^TO_: .*allanwind@lifeintegrity.com
$TRASH
:0
* ^Subject:.(unsubscribe|UNSUBSCRIBE|unsubscrive|unscribe|unsuscribe|subscrib|SUBSCRIBE|unsubscribe!!!|\"unsubscribe\")
/dev/null

:0
* ^Subject:.(Test|test|TEST|tset)
/dev/null

All the forms I catched so far.

Not exactly the same thing, but as there are a lot of Mutt users on this list, I thought I would drop this off:-

http://cedricduval.free.fr/mutt/patches/

Regards,

David.




Reply to: