procmail
[Top] [All Lists]

Re: Checking for Non dictionary words

2003-11-22 09:18:45
Toen ik Robert Allerstorfer kietelde, kwam er dit uit:

not tested, but you may want to try something like this:

  C = "[]['/@&%#_!=,;:.*+?^() \\\"\`\$-]"
  O = "[o0]"

  MONEY = "m$C?$O?$C?n$C?e$C?y"

  BADMONEY
  :0
  * $ ^Subject:.*\/$MONEY
  { BADMONEY = $MATCH }


  C = "[^a-z0-9(){}]+"
  O = "([o0]|[({][)}])"
  MONEY = "m$C?$O$C?n$C?e$C?y"  # removed ? after $O

  M_()_N_E_Y

But of course there will be many false hits too.

Focus on the headers of a message. Almost all spam
can be filtered by giving a spam-weight to pointers 
and patterns found in the headers.

-- 
Affijn, Ruud

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