C
On Sat, 2002-02-02 at 23:53, Michael Moncur wrote:
In 20_body_tests.cf, there's a rule for the phrase "work at home": body WORK_AT_HOME /(?:WORK (?:AT|FROM) HOME|HOME.?WORKER)/ describe WORK_AT_HOME Information on how to work at home This missed a couple of spam messages I received today. Here's a suggested improvement - someone please check it as I'm not a regex expert: body WORK_AT_HOME /(?:(?:WORK|MAKE (?:MONEY|\${1,5})) (?:AT|FROM) HOME|HOME.?WORKER)/i describe WORK_AT_HOME Information on how to work at home This should make the test case-insensitive as well as account for the variations "Make money at home" and "Make $$$ at home". BTW, I tested this on my own system by piping a bunch of test phrases through spamassassin -t and it appears to work. -- michael moncur mgm at starlingtech.com http://www.starlingtech.com/ "Of those who say nothing, few are silent." -- Thomas Neill _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk