aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Defaults.py.in
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2016-01-18 15:56:58 -0800
committerMark Sapiro <mark@msapiro.net>2016-01-18 15:56:58 -0800
commit6d73b41100a69702df03b0f4700cbb36492bea87 (patch)
treedf98d8cc76504b9733680f8d9640170ba27045f8 /Mailman/Defaults.py.in
parent98802661f4d1b54d05bf8bbfbf952e300ec96f7d (diff)
parentb8811f8fc2d9bd27d1963c000ddaf05d951b5bda (diff)
downloadmailman2-6d73b41100a69702df03b0f4700cbb36492bea87.tar.gz
mailman2-6d73b41100a69702df03b0f4700cbb36492bea87.tar.xz
mailman2-6d73b41100a69702df03b0f4700cbb36492bea87.zip
Merged and tweaked Jim P's mailman-auto-mod-verbose-members branch.
Diffstat (limited to 'Mailman/Defaults.py.in')
-rwxr-xr-xMailman/Defaults.py.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in
index 0e376e1c..a4b63285 100755
--- a/Mailman/Defaults.py.in
+++ b/Mailman/Defaults.py.in
@@ -1118,6 +1118,25 @@ DMARC_RESOLVER_TIMEOUT = seconds(3)
# The total time to spend trying to get an answer to the question.
DMARC_RESOLVER_LIFETIME = seconds(5)
+# Should the list server auto-moderate members who post too frequently
+# This is intended to stop people who join a list and then use a bot to
+# send many spam messages in a short interval. These are default settings
+# for new lists. See the web admin Privacy options -> Sender filters page
+# and the Details for member_verbosity_threshold and member_verbosity_interval
+# links for more information.
+# DEFAULT_MEMBER_VERBOSITY_INTERVAL = number of seconds to track posts
+# DEFAULT_MEMBER_VERBOSITY_THRESHOLD = number of allowed posts per interval
+# (0 to disable).
+DEFAULT_MEMBER_VERBOSITY_INTERVAL = 300
+DEFAULT_MEMBER_VERBOSITY_THRESHOLD = 0
+
+# This controls how often to clean old post time entries from the dictionary
+# used to implement the member verbosity feature. This is a compromise between
+# using resources for cleaning and allowing the dictionary to grow very large.
+# The setting is the number of passes through the code before the dictionary
+# is cleaned.
+VERBOSE_CLEAN_LIMIT = 1000
+
# What domains should be considered equivalent when testing list membership
# for posting/moderation.
# If two poster addresses with the same local part but