Hi, Could be a simple thing but I just want to delete mails with anything in them including unsubscribe as the subject so if I do it like this will I have headaches or smile :0: *X-Mailinglist snort { :0 *^Subject:.*unsubscribe /dev/null } snort TIA -- Togan Muftuoglu
On Fri, May 11, 2001 at 06:01:04PM +0300, Togan Muftuoglu wrote:
Hi,
Could be a simple thing but I just want to delete mails with anything in them including unsubscribe as the subject so if I do it like this will I have headaches or smile
:0: *X-Mailinglist snort { :0 *^Subject:.*unsubscribe /dev/null } snort
Dunno what the extra ':' is doing after your first ':0', but other than that it should Just Work. I've got plenty of those sorts of rules. :) -tara
* Tara L Andrews
On Fri, May 11, 2001 at 06:01:04PM +0300, Togan Muftuoglu wrote: Dunno what the extra ':' is doing after your first ':0', but other than that it should Just Work. I've got plenty of those sorts of rules. :)
-tara
Thanks Tara, I got the second : from the examples # this will cause a lockfile # named "$MAILDIR/todd.lock" to be used if and only if this mail is # going # into the file "todd". :0: # Anything from thf * ^From.*thf@somewhere.someplace todd # will go to $MAILDIR/todd Anyway good to know it will work because from that I will generate the receipe for Free Beer also to /dev/null :-) It just occupiesdisk space until I manualy delete it -- Togan Muftuoglu A Happy SuSE user who is discovering the endless beauties of Mutt+Procmail
participants (2)
-
Tara L Andrews
-
Togan Muftuoglu