diff options
author | Mark Sapiro <mark@msapiro.net> | 2020-06-10 15:04:26 -0700 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2020-06-10 15:04:26 -0700 |
commit | 6fac67d23d53d2bb46b300e53a33da1c8f09cb86 (patch) | |
tree | 56451f0b82181a2dcd76690fe2e883f696e377d9 /Mailman | |
parent | bc7fdf4c5fb688ae62e48e614bc285bdcd805ffc (diff) | |
download | mailman2-6fac67d23d53d2bb46b300e53a33da1c8f09cb86.tar.gz mailman2-6fac67d23d53d2bb46b300e53a33da1c8f09cb86.tar.xz mailman2-6fac67d23d53d2bb46b300e53a33da1c8f09cb86.zip |
Implement WARN_MEMBER_OF_SUBSCRIBE subscribe setting.
Diffstat (limited to '')
-rw-r--r-- | Mailman/Cgi/subscribe.py | 1 | ||||
-rwxr-xr-x | Mailman/Defaults.py.in | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/Mailman/Cgi/subscribe.py b/Mailman/Cgi/subscribe.py index 795fc81b..ca218737 100644 --- a/Mailman/Cgi/subscribe.py +++ b/Mailman/Cgi/subscribe.py @@ -300,6 +300,7 @@ moderator's decision when they get to your request.""") results = _('You are already subscribed.') else: results = privacy_results + if privacy_results and mm_cfg.WARN_MEMBER_OF_SUBSCRIBE: # This could be a membership probe. For safety, let the user know # a probe occurred. BAW: should we inform the list moderator? listaddr = mlist.GetListEmail() diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in index e5d8b3cf..fea5dcf1 100755 --- a/Mailman/Defaults.py.in +++ b/Mailman/Defaults.py.in @@ -1130,6 +1130,10 @@ ANONYMOUS_LIST_KEEP_HEADERS = ['^(?!x-)', '^x-mailman-', # request email, she has to wait PENDING_REQUEST_LIFE (default 3 days) before # she can request another. This setting also applies to repeated unsubscribes. REFUSE_SECOND_PENDING = No +# Mailbombing of a list member of a list with private rosters can occur with +# repeated subscribe attempts resulting in repeated user warnings. Set the +# following to No to supress the user warnings. +WARN_MEMBER_OF_SUBSCRIBE = Yes |