1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Mailu/core/admin
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
..
assets Move even more python deps to base image 2022-10-12 16:32:27 +02:00
mailu Merge #2328 2022-10-29 11:44:04 +00:00
migrations Add default to column spam_mark_as_read 2022-05-25 08:54:10 +02:00
.gitignore Move all directories per theme 2017-11-01 12:11:04 +01:00
audit.py Move even more python deps to base image 2022-10-12 16:32:27 +02:00
babel.cfg Move all directories per theme 2017-11-01 12:11:04 +01:00
Dockerfile Optimize build order for better caching 2022-10-17 16:20:52 +02:00
messages.pot Fix a bunch of typos 2022-10-19 19:41:49 +02:00
README.md Move all directories per theme 2017-11-01 12:11:04 +01:00
start.py Merge #2460 2022-10-28 15:21:56 +00:00

Mailu Admin container

This is the web-based administrative interface for the Mailu containerized mail server.

Resources