aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Defaults.py.in
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2015-01-23 15:50:47 -0800
committerMark Sapiro <mark@msapiro.net>2015-01-23 15:50:47 -0800
commit792407be592b8e7d523cb134a01b09101cbc2cad (patch)
treef66aaacb3c7781e490ea9c365510c75e46818f81 /Mailman/Defaults.py.in
parent0e3c1fbaf0c80ed865945a14e604954daaf80a6a (diff)
downloadmailman2-792407be592b8e7d523cb134a01b09101cbc2cad.tar.gz
mailman2-792407be592b8e7d523cb134a01b09101cbc2cad.tar.xz
mailman2-792407be592b8e7d523cb134a01b09101cbc2cad.zip
Implemented the equivalent domains feature for list posting/moderation.
Diffstat (limited to '')
-rwxr-xr-xMailman/Defaults.py.in22
1 files changed, 21 insertions, 1 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in
index 8a5e6b0e..8049c36c 100755
--- a/Mailman/Defaults.py.in
+++ b/Mailman/Defaults.py.in
@@ -1101,7 +1101,27 @@ DMARC_RESOLVER_TIMEOUT = seconds(3)
# The total time to spend trying to get an answer to the question.
DMARC_RESOLVER_LIFETIME = seconds(5)
-# What shold happen to non-member posts which are do not match explicit
+# What domains should be considered equivalent when testing list membership
+# for posting/moderation.
+# If two poster addresses with the same local part but
+# different domains are to be considered equivalents for list
+# membership tests, the domains are put here. The format is
+# one or more groups of equivalent domains. Within a group,
+# the domains are separated by commas and multiple groups are
+# separated by semicolons. White space is ignored.
+# For example:
+#
+# 'example.com,mail.example.com;mac.com,me.com,icloud.com'
+#
+# In this example, if user@example.com is a list member,
+# a post from user@mail.example.com will be treated as if it is
+# from user@example.com for list membership/moderation purposes,
+# and likewise, if user@me.com is a list member, posts from
+# user@mac.com or user@icloud.com will be treated as if from
+# user@me.com.
+DEFAULT_EQUIVALENT_DOMAINS = ''
+
+# What should happen to non-member posts which are do not match explicit
# non-member actions?
# 0 = Accept
# 1 = Hold