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

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



Incoming from Sven Hoexter:
> 
> :0
> * ^Subject:.(unsubscribe|UNSUBSCRIBE|unsubscrive|unscribe|unsuscribe|subscrib|SUBSCRIBE|unsubscribe!!!|\"unsubscribe\")
> /dev/null

Except if you specifically tell it otherwise, procmail recipes are
case insensitive.  You can cut both of these back considerably.  You
might also consider escaping/backslashing those "!" also, but it's
redundant so better to remove the whole "unsubscribe!!!" instead.

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


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)               http://www.spots.ab.ca/~keeling 
- -



Reply to: