Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add TextCat

...

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 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

...