OT Spam Assassin Prefs question

Mark Sapiro mark at msapiro.net
Wed Feb 20 17:04:17 GMT 2008


Scott B. Anderson wrote:

>My users have been seeing a large amount of Russian charset email spam. How
> would I set a SA rule to include all Cyrillic (sp) emails or would this be
> better set at the MTA (sendmail in my case) ?


You could set a header rule something like

header X_RULE_NAME Content-Type =~
/charset="?(ibm-855|iso-8859-5|iso-ir-11|koi8-r|koi8-u|maccyrillic|macukranian|windows-1251|cp-866)/i

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the MailScanner mailing list