diff options
| author | bwarsaw | 2001-08-29 05:56:19 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-08-29 05:56:19 +0000 |
| commit | 2758d16d758b16c8f690a83e6079662255d77d00 (patch) | |
| tree | e03ada773ea122f9d8872eae45c844e0a7350670 | |
| parent | 0242e616245d1b0d92057b09e5dbaba47116270b (diff) | |
| download | mailman-2758d16d758b16c8f690a83e6079662255d77d00.tar.gz mailman-2758d16d758b16c8f690a83e6079662255d77d00.tar.zst mailman-2758d16d758b16c8f690a83e6079662255d77d00.zip | |
KNOWN_SPAMMERS: Move this here from Mailman/Handlers/SpamDetect.py
| -rw-r--r-- | Mailman/Defaults.py.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in index f835e41cb..cbafe5f2c 100644 --- a/Mailman/Defaults.py.in +++ b/Mailman/Defaults.py.in @@ -94,6 +94,23 @@ add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) ##### +# Spam avoidance defaults +##### + +# This variable contains a list of 2-tuple of the format (header, regex) which +# the Mailman/Handlers/SpamDetect.py module uses to match against the current +# message. If the regex matches the given header in the current message, then +# it is flagged as spam. header is case-insensitive and should not include +# the trailing colon. regex is always matched with re.IGNORECASE. +# +# Note that the more searching done, the slower the whole process gets. Spam +# detection is run against all messages coming to either the list, or the +# -owners address, unless the message is explicitly approved. +KNOWN_SPAMMERS = [] + + + +##### # Web UI defaults ##### |
