You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by Apache Wiki <wi...@apache.org> on 2012/02/29 16:55:12 UTC
[Spamassassin Wiki] Update of "ImproveAccuracy" by Darxus
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Spamassassin Wiki" for change notification.
The "ImproveAccuracy" page has been changed by Darxus:
http://wiki.apache.org/spamassassin/ImproveAccuracy?action=diff&rev1=6&rev2=7
Comment:
Add TextCat
== Enable Sought rules ==
SoughtRules is a custom rule set generated from spam 4 times a day by a SpamAssassin developer.
+ == Only accept email in specified languages - TextCat ==
+
+ In /etc/spamassassin/local.'''pre''' add:
+
+ {{{loadplugin Mail::SpamAssassin::Plugin::TextCat}}}
+
+ In /etc/spamassassin/local.cf add:
+
+ {{{ok_languages en es}}}
+
+ Where "en es" is a list of codes for languages you wish to accept. The full list is in the [[http://spamassassin.apache.org/full/3.3.x/doc/Mail_SpamAssassin_Plugin_TextCat.html|TextCat documentation]].
+
+ It is very important that the loadplugin line be added to a .pre file not a .cf file so it is loaded ''before'' the rules files are loaded, otherwise those rules will not get enabled.
+
== Use a local, caching, non-forwarding DNS sever ==
CachingNameserver.