O'Reilly logo

SpamAssassin by Alistair McDonald

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Character Sets and Languages

SpamAssassin can detect certain languages and character sets. Both language and character set information are added by email clients when emails are composed and sent, so that the receiving email client can display the message correctly. There are many languages and character sets in use. If received messages are expected or known to use only some of them, then the others can be filtered out.

Disallowing Languages

SpamAssassin detects languages by using email headers. There is a large list of languages that SpamAssassin can detect; these are listed in the documentation for Mail::SpamAssassin::Conf. Use the man or perldoc commands to view the documentation:

$ perldoc Mail::SpamAssassin::Conf $ man Mail::SpamAssassin::Conf ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required