From 08db23658a8dbc204c984469ca89df59351c2510 Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Sat, 15 Aug 2020 16:33:48 +0200 Subject: [PATCH] add SPAMASSASSIN_HOST param --- app/config.py | 4 ++++ example.env | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/config.py b/app/config.py index 0e5dbf53..8f8d2024 100644 --- a/app/config.py +++ b/app/config.py @@ -302,3 +302,7 @@ PLAUSIBLE_DOMAIN = os.environ.get("PLAUSIBLE_DOMAIN") # server host HOST = socket.gethostname() + +# by default use a tolerant score +MAX_SPAM_SCORE = 10 +SPAMASSASSIN_HOST = os.environ.get("SPAMASSASSIN_HOST") diff --git a/example.env b/example.env index ca552674..baed77d7 100644 --- a/example.env +++ b/example.env @@ -153,4 +153,7 @@ DISABLE_ONBOARDING=true # Set the 2 below variables to enable Plausible Analytics # PLAUSIBLE_HOST=https://plausible.io -# PLAUSIBLE_DOMAIN=yourdomain.com \ No newline at end of file +# PLAUSIBLE_DOMAIN=yourdomain.com + +# Spamassassin server +# SPAMASSASSIN_HOST = 127.0.0.1 \ No newline at end of file