procmail
[Top] [All Lists]

Re: Checking for Non dictionary words

2003-11-23 09:23:39
On Sat, 22 Nov 2003, S Semple wrote:

I suppose due to the increase in spam filtering
spammers have moved to hiding their words eg.
m.oney or p(_at_)armacy

I have writen the below recipe but it seems awfully
cumbersome. Is there an easier way of doing this.
#-------------------------
CH = '  \.\!\*\~\:\-\@'

# I have put it on separate line to make it a little
# more readable
:0:
* $ ^SUBJECT:.*M[$CH]O[$CH]?N[$CH]?E[$CH]?Y|\
M[$CH]?O[$CH]N[$CH]?E[$CH]?Y|\
M[$CH]?O[$CH]?N[$CH]E[$CH]?Y|\
M[$CH]?O[$CH]?N[$CH]?E[$CH]Y

#-----------------------------

What I am trying to do in this recipe is prevent
the false positive of simply MONEY which is a
common enough word but flag anything else. eg mon.ey
or mo:ney or even m.o.n.e.y .

        Try this example:

PU="[^a-z]?"

:0 HB
*$ ()\/m($PU)(O|0|())($PU)n($PU)e($PU)y
* 1^0 MATCH ?? [^a-z]
{ SAPM=yes }

Bye,
 Udi




This method isnt too cumbersome with a word like money
but when you start doing this on University Degree's
it gets real big.

Anyone have a simpler solution, short of creating a
file with a list of words in it.


____________________________________________________________
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail


--



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail