spamassassin:only_accept_email_in_specified_languages
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
spamassassin:only_accept_email_in_specified_languages [2017/03/30 11:13] – peter | spamassassin:only_accept_email_in_specified_languages [2019/12/04 21:13] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== SpamAssassin - Only accept email in specified languages ====== | ||
- | |||
- | Use the TextCat plugin. | ||
- | |||
- | In / | ||
- | |||
- | < | ||
- | loadplugin Mail:: | ||
- | </ | ||
- | |||
- | In / | ||
- | |||
- | < | ||
- | ok_languages en af | ||
- | </ | ||
- | |||
- | Where "en af" is a list of codes for languages you wish to accept. | ||
- | |||
- | If the guessed language is not okay, **" | ||
- | |||
- | The results are added to a **" | ||
- | |||
- | <WRAP notice> | ||
- | **NOTE: | ||
- | </ | ||
- | |||
- | <WRAP important> | ||
- | **IMPORTANT: | ||
- | </ | ||
- | |||
- | You may also want to increase the score from the default of 2.8: | ||
- | |||
- | < | ||
- | score UNWANTED_LANGUAGE_BODY 5 | ||
- | </ | ||
- | |||
- | |||
- | ===== Languages Supported by TextCat ===== | ||
- | |||
- | |af|Afrikaans| | ||
- | |am|Amharic| | ||
- | |ar|Arabic| | ||
- | |be|Byelorussian| | ||
- | |bg|Bulgarian| | ||
- | |bs|Bosnian| | ||
- | |ca|Catalan| | ||
- | |cs|Czech| | ||
- | |cy|Welsh| | ||
- | |da|Danish| | ||
- | |de|German| | ||
- | |el|Greek| | ||
- | |en|English| | ||
- | |eo|Esperanto| | ||
- | |es|Spanish| | ||
- | |et|Estonian| | ||
- | |eu|Basque| | ||
- | |fa|Persian| | ||
- | |fi|Finnish| | ||
- | |fr|French| | ||
- | |fy|Frisian| | ||
- | |ga|Irish Gaelic| | ||
- | |gd|Scottish Gaelic| | ||
- | |he|Hebrew| | ||
- | |hi|Hindi| | ||
- | |hr|Croatian| | ||
- | |hu|Hungarian| | ||
- | |hy|Armenian| | ||
- | |id|Indonesian| | ||
- | |is|Icelandic| | ||
- | |it|Italian| | ||
- | |ja|Japanese| | ||
- | |ka|Georgian| | ||
- | |ko|Korean| | ||
- | |la|Latin| | ||
- | |lt|Lithuanian| | ||
- | |lv|Latvian| | ||
- | |mr|Marathi| | ||
- | |ms|Malay| | ||
- | |ne|Nepali| | ||
- | |nl|Dutch| | ||
- | |no|Norwegian| | ||
- | |pl|Polish| | ||
- | |pt|Portuguese| | ||
- | |qu|Quechua| | ||
- | |rm|Rhaeto-Romance| | ||
- | |ro|Romanian| | ||
- | |ru|Russian| | ||
- | |sa|Sanskrit| | ||
- | |sc| Scots| | ||
- | |sk|Slovak| | ||
- | |sl|Slovenian| | ||
- | |sq|Albanian| | ||
- | |sr|Serbian| | ||
- | |sv|Swedish| | ||
- | |sw|Swahili| | ||
- | |ta|Tamil| | ||
- | |th|Thai| | ||
- | |tl|Tagalog| | ||
- | |tr|Turkish| | ||
- | |uk|Ukrainian| | ||
- | |vi|Vietnamese| | ||
- | |yi|Yiddish| | ||
- | |zh|Chinese (both Traditional and Simplified)| | ||
- | |zh|g5 - Chinese (Traditional only)| | ||
- | |zh|2312 - Chinese (Simplified only)| | ||
- | |||
- | |||
- | ===== References ===== | ||
- | |||
- | http:// | ||
- | |||
spamassassin/only_accept_email_in_specified_languages.1490872396.txt.gz · Last modified: 2020/07/15 09:30 (external edit)