Blog of Leonid Mamchenkov

You just stepped in a pile of posts.

sa_patgen

Posted in All on June 15th, 2004 · No Comments

A lot of spammers use modified words to get throuth spam filters. What they do is take a word like ‘casino’ and insert a random character into it. For example ‘ca!sino’. If you get a lot of spam with words modifed like this, then you can use sa_patgen.pl to generate pattern rules for SpamAssassin.

All you have to do is specify the score to add for each modified word match (I use 0.5) and a list of words like casino, gambling, viagra, etc. The script will output a set of rules to match modified words. You can save the output in your local.cf file or pipe it somewhere else.

sa_patgen.pl

Tags: , , ,

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment

Note: This post is over 4 years old. You may want to check later in this blog to see if there is new information relevant to your comment.