Blocking by character set

Julian Field MailScanner at
Mon May 11 20:15:03 IST 2009

SpamAssassin can do this, look for ok_locales in the documentation for it.

On 11/05/2009 19:58, Paul Lemmons wrote:
> Is there any way to recognize a particular character set in a message 
> and block based on it. We are a non-international company and 100% of 
> the email containing non-English characters is spam. I would like to 
> use that to my advantage and simply block mail containing (to us) 
> foreign character sets.


Julian Field MEng CITP CEng
Buy the MailScanner book at
Follow me at

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key:

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the MailScanner mailing list