Foreign language Filter

The Foreign language Filter filters mails with foreign language words.
You may find the latest version at www.hinzen.de/Spamihilator and contact the author at edy@hinzen.de.
The current version number of this plugin will be shown in the upper right corner of the options dialog.


Filter-Techniques

This filter uses two techniques:

  1. The amount of foreign characters is evaluated. Counting is done by the following scheme: At least, the percentage of foreign characters within all counted characters is calculated.
  2. By searching for foreign language words which are defined in optional, editable word lists.


Messages

If you select an entry in Spamihilator's recycle bin, the filter reason will be shown at the label "Spam Words" as usual.


Option panels

The options can be set on several panels in the options dialog.

This help file explains in different sections the various option panels. The explanations are structured as follows:

Title of option panel
Subtitle of option panel
Option, as you read it in the dialog Description
Examples



Preferences
Foreign characters allowed: ... % max. Marks a mail as spam, if the percentage of foreign characters reaches this value.
Check only if at least ... % characters Only checks the evaluated percentage, if at least the given amount of characters had been counted.
This is done to pretend mails beeing marked containing e.g. only the German phrase "Süß!" (it would have 66% foreign, but only 3 counted characters).
Don't save in the Training Area, if
Foreign characters were found by percentage If selected, does not pass a mail to the Training Area, if it has been marked as spam by the percentage-check.
Foreign words were found If selected, does not pass a mail to the Training Area, if it has been marked as spam by the foreign-word-check.



Languages
This option panel allows you to enable, add and remove different languages and to edit word lists of that languages.
"Activated" means in this context: If words of an activated language are found in an eMail, this mail will be blocked and marked as spam.
Adding a language
  • Enter the name of the new language in the left edit box. The [+]-button will be activated.
  • Press the [+]-button to add the language.
  • Optionally activate the new language.
Activating a language
Deactivating a language
  • Select the checkbox near the language name in the left list to activate or deactivate it.
Deleting a language
  • Select language name in the left list. The [-]-button will be activated.
  • Press the [-]-button to delete the language.
Caution: By deleting a language, all words assigned to this language will be lost, too. Predefined languages can be restored by re-installation of the plugin. User-defined languages will be lost after deletion.
Rather than deleting a language, deactivation is recommended.
Adding a word
  • Enter the new word in the right edit box. The [+]-button will be activated.
  • Press the [+]-button to add the word.
Deleting a word
  • Select the word in the right list. The [-]-button will be activated.
  • Press the [-]-button to delete the word.
Editing a word
  • Delete the wrong word and add it with the new spell.



Logging
Mode
Never No logging takes place.
Standard Standard logging. In general, only errors are reported.
Verbose Not active. Works as "Standard".
Extended Durations will be shown.
Debug-Mode Only for debugging. Start and end of subroutines and the contents of the mails are logged, too.
Remove previous log Within this option you define how long previous log entries will be held.



Version history

Version Remarks
1.1.1.2 Removed word "attachment" from English language list.
1.1.1.1 Introduced this help file.
  Improved logging details. Logging-mode "extended" now shows durations.