From e73288354dd0c1c64718f589e3733a98e5652518 Mon Sep 17 00:00:00 2001 From: Son Date: Fri, 21 Jan 2022 19:30:27 +0100 Subject: [PATCH] remove IGNORED_EMAILS variable --- app/config.py | 3 --- example.env | 3 --- 2 files changed, 6 deletions(-) diff --git a/app/config.py b/app/config.py index d25f383e..30b269a4 100644 --- a/app/config.py +++ b/app/config.py @@ -143,9 +143,6 @@ FIRST_ALIAS_DOMAIN = os.environ.get("FIRST_ALIAS_DOMAIN") or EMAIL_DOMAIN # e.g. [(10, "mx1.hostname."), (10, "mx2.hostname.")] EMAIL_SERVERS_WITH_PRIORITY = sl_getenv("EMAIL_SERVERS_WITH_PRIORITY") -# these emails are ignored when computing stats -IGNORED_EMAILS = sl_getenv("IGNORED_EMAILS", list) - # disable the alias suffix, i.e. the ".random_word" part DISABLE_ALIAS_SUFFIX = "DISABLE_ALIAS_SUFFIX" in os.environ diff --git a/example.env b/example.env index 742c5536..fa93148d 100644 --- a/example.env +++ b/example.env @@ -60,9 +60,6 @@ SUPPORT_NAME=Son from SimpleLogin # custom domain needs to point to these MX servers EMAIL_SERVERS_WITH_PRIORITY=[(10, "email.hostname.")] -# these emails are ignored when computing stats -# IGNORED_EMAILS = ["my_email@domain.com"] - # By default, new aliases must end with ".{random_word}". This is to avoid a person taking all "nice" aliases. # this option doesn't make sense in self-hosted. Set this variable to disable this option. # DISABLE_ALIAS_SUFFIX=1