diff --git a/app/config.py b/app/config.py index 54b36a97..2553e3f0 100644 --- a/app/config.py +++ b/app/config.py @@ -400,3 +400,6 @@ POSTMASTER = os.environ.get("POSTMASTER") # store temporary files, especially for debugging TEMP_DIR = os.environ.get("TEMP_DIR") + +# enable the alias automation disable: an alias can be automatically disabled if it has too many bounces +ALIAS_AUTOMATIC_DISABLE = "ALIAS_AUTOMATIC_DISABLE" in os.environ diff --git a/example.env b/example.env index 12279ed1..119490b3 100644 --- a/example.env +++ b/example.env @@ -175,4 +175,6 @@ DISABLE_ONBOARDING=true # POSTMASTER = postmaster@example.com -# TEMP_DIR = /tmp \ No newline at end of file +# TEMP_DIR = /tmp + +#ALIAS_AUTOMATIC_DISABLE=true \ No newline at end of file