procmail, and the care and feeding of mailing list content received

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




Some threads just go on too long. Personally I think a troll has hijacked the main centos list again and is inducing food fight behaviours while that troll perfectly 'innocently' asserting that it is just respoding to all email.

see:
	http://video.google.com/videoplay?docid=-4216011961522818645
for a discussion of the problem of 'capture' in FOSS projects.

But if one loses interest in a thread, it is easy enough to tune them out:

1.  Install procmail;  yum knows how


2.  Add a mark and drop ruleset

[herrold@new .procmail]$ cat ~/.procmail/killfilerc
#
#       mark them
:0fh
^ *List-Id:.*centos\.centos\.org
^ *Subject:.*CentOS Based Linux Firewall Document
*!^X-brand
        | formail -A "X-brand: killfile "

# and dump them
:0 w
* ^X-brand: killfile
        /dev/null


3.  Integrate it in mailhandling; a fragment from:
	/home/herrold/.procmailrc

#       easy drops
INCLUDERC=$HOME/.procmail/killfilerc


-----------------------------------

easy enough to save 'caught' pieces to a file, rather than devnull until you are certain collateral damage has not been induced; see the procmail manpage series for a full discussion.

-- Russ Herrold
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux