1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-12 10:45:38 +02:00
Mailu/docs
bors[bot] 12480ccbff
Merge #2328
2328: Feature: Configurable default spam threshold used for new users r=mergify[bot] a=enginefeeder101

## What type of PR?

Feature

## What does this PR do?

This PR adds functionality to set a custom default spam threshold
for new users. The environment variable ``DEFAULT_SPAM_THRESHOLD`` is
used for this purpose. When not set, it defaults back to 80%, as the
default value was before.

If ``DEFAULT_SPAM_THRESHOLD`` is set to a value that Python cannot
parse as an integer, a ValueError is thrown. There is no error handling
for that case built-in. Should that be done?

## Prerequisites
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [x] In case of feature or enhancement: documentation updated accordingly
- [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file.


Co-authored-by: enginefeeder101 <enginefeeder101@users.noreply.github.com>
Co-authored-by: Dimitri Huisman <diman@huisman.xyz>
2022-10-29 11:44:04 +00:00
..
_templates Restore VERSION_TAG template 2018-12-30 15:07:45 +02:00
assets removing unneeded image 2020-11-17 11:41:01 -06:00
compose Fix a bunch of typos 2022-10-19 19:41:49 +02:00
contributors Merge #2460 2022-10-28 15:21:56 +00:00
kubernetes/mailu simplify 2021-08-24 18:49:27 +02:00
swarm Fix a bunch of typos 2022-10-19 19:41:49 +02:00
.env Add deploy settings for server 2018-12-17 00:12:21 +02:00
antispam.rst Merge #2328 2022-10-29 11:44:04 +00:00
arm_images.rst Fix a bunch of typos 2022-10-19 19:41:49 +02:00
cli.rst Fix small typo in config-import example template 2022-08-05 07:17:45 +00:00
conf.py Set language to English for sphinx in conf.py. 2022-06-07 11:20:07 +00:00
configuration.rst Merge #2328 2022-10-29 11:44:04 +00:00
database.rst Update database.rst 2022-07-28 19:44:31 +08:00
demo.rst Fixed small typo 2020-01-11 10:13:53 +01:00
dns.rst Fix a bunch of typos 2022-10-19 19:41:49 +02:00
docker-compose.yml Make docker-compose.yml for setup and docs development friendly 2019-01-16 20:50:52 +02:00
Dockerfile Process code review remarks 2021-11-18 17:21:56 +00:00
faq.rst Fix a bunch of typos 2022-10-19 19:41:49 +02:00
features.rst remove service status "feature" 2020-11-11 12:10:41 -06:00
general.rst Update general.rst 2022-07-28 20:02:51 +08:00
index.rst Switch from docker build to buildx for CI/CD. 2022-08-03 09:36:53 +00:00
maintain.rst Documentation: 2022-07-26 18:16:18 +08:00
nginx.conf Build the documentation as a Docker image 2018-09-28 10:41:17 +02:00
releases.rst Fix a bunch of typos 2022-10-19 19:41:49 +02:00
requirements.txt Added missing extension in conf.py. Added missing library in requirements.txt. Sphinx is only compatible with docutils<0.17 2021-07-21 12:18:14 +02:00
reverse.rst Fixed error in reverse.rst and remove unneeded example block. 2022-08-05 15:42:37 +00:00
setup.rst Merge branch 'master' into feat-switch-buildx 2022-08-03 09:45:20 +00:00
webadministration.rst Fix a bunch of typos 2022-10-19 19:41:49 +02:00