You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
2 years ago
..
_templates Restore VERSION_TAG template 6 years ago
assets removing unneeded image 4 years ago
compose Fix a bunch of typos 2 years ago
contributors Merge #2460 2 years ago
kubernetes/mailu simplify 3 years ago
swarm Fix a bunch of typos 2 years ago
.env Add deploy settings for server 6 years ago
Dockerfile Process code review remarks 3 years ago
antispam.rst Merge #2328 2 years ago
arm_images.rst Fix a bunch of typos 2 years ago
cli.rst Fix small typo in config-import example template 2 years ago
conf.py Set language to English for sphinx in conf.py. 2 years ago
configuration.rst Merge #2328 2 years ago
database.rst Update database.rst 2 years ago
demo.rst Fixed small typo 5 years ago
dns.rst Fix a bunch of typos 2 years ago
docker-compose.yml Make docker-compose.yml for setup and docs development friendly 6 years ago
faq.rst Fix a bunch of typos 2 years ago
features.rst remove service status "feature" 4 years ago
general.rst Update general.rst 2 years ago
index.rst Switch from docker build to buildx for CI/CD. 2 years ago
maintain.rst Documentation: 2 years ago
nginx.conf Build the documentation as a Docker image 6 years ago
releases.rst Fix a bunch of typos 2 years ago
requirements.txt Added missing extension in conf.py. Added missing library in requirements.txt. Sphinx is only compatible with docutils<0.17 3 years ago
reverse.rst Fixed error in reverse.rst and remove unneeded example block. 2 years ago
setup.rst Merge branch 'master' into feat-switch-buildx 2 years ago
webadministration.rst Fix a bunch of typos 2 years ago