Documentation for configurable default spam threshold

main
enginefeeder101 3 years ago
parent 6c83d25312
commit 4da0ff1856
No known key found for this signature in database
GPG Key ID: CDB8B38253DF3390

@ -43,6 +43,8 @@ Rspamd rejects non-compliant email messages and email messages that contain viru
66% (10/15) is less than 80%, so the email is classified as ham. This email message will go to the inbox folder. If the user wants email messages with a score of 10 (66%) to be classified as spam, then the user defined spam filter tolerance can be lowered to 65% in the administration web interface. 66% (10/15) is less than 80%, so the email is classified as ham. This email message will go to the inbox folder. If the user wants email messages with a score of 10 (66%) to be classified as spam, then the user defined spam filter tolerance can be lowered to 65% in the administration web interface.
The default spam filter tolerance used for new users can be configured using the environment variable ``DEFAULT_SPAM_THRESHOLD``. See also: :ref:`_advanced_cfg`.
.. image:: assets/screenshots/SpamFiltering.png .. image:: assets/screenshots/SpamFiltering.png
The location in the administration web interface where the spam filter and spam filter tolerance can be configured. The location in the administration web interface where the spam filter and spam filter tolerance can be configured.

@ -181,6 +181,8 @@ An example:
Depending on your particular deployment you most probably will want to change the default. Depending on your particular deployment you most probably will want to change the default.
.. _advanced_cfg:
Advanced settings Advanced settings
----------------- -----------------
@ -209,6 +211,8 @@ The ``TZ`` sets the timezone Mailu will use. The timezone naming convention usua
.. _`TZ database name`: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones .. _`TZ database name`: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
The ``DEFAULT_SPAM_THRESHOLD`` (default: 80) setting is the default spam tolerance used when creating a new user.
Antivirus settings Antivirus settings
------------------ ------------------

@ -173,6 +173,9 @@ LOG_LEVEL=WARNING
# Timezone for the Mailu containers. See this link for all possible values https://en.wikipedia.org/wiki/List_of_tz_database_time_zones # Timezone for the Mailu containers. See this link for all possible values https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
TZ=Etc/UTC TZ=Etc/UTC
# Default spam threshold used for new users
DEFAULT_SPAM_THRESHOLD=80
################################### ###################################
# Database settings # Database settings
################################### ###################################

@ -0,0 +1 @@
Configurable default spam threshold used for new users
Loading…
Cancel
Save