Re: PUPPIES FOR SALE
On Wed, 2008-01-30 at 08:38 +0200, David Baron wrote:
> OK spamassassin folks: Rules which would say no puppies on software mailing
> lists, no software on dog-breeders mailing lists. A few false alarms, i.e.
> "that great new app is such a sweet-puppie" and that "breeder's management
> package is a killer app" (or is that a yap?).
(1) Some __ rules to detect the mailing lists from the headers (assuming
the list manager puts in nice mailing list headers), like
header __LIST_DEBIAN List_ID =~ /\.debian\./
(2) Some content-specific __ rules, like
body __PUPPIES /\bpupp(?:y|ies)\b/i
(3) meta them together for scoring
meta DEBIAN_PUPPIES (__LIST_DEBIAN && __PUPPIES)
score DEBIAN_PUPPIES 1.00
Repeat as needed.
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhardin@impsec.org FALaholic #11174 pgpk -a jhardin@impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
Efficiency can magnify good, but it magnifies evil just as well.
So, we should not be surprised to find that modern electronic
communication magnifies stupidity as *efficiently* as it magnifies
intelligence. -- Robert A. Matern
-----------------------------------------------------------------------
2 days until the 5th anniversary of the loss of STS-107 Columbia
Reply to: