aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Defaults.py.in
diff options
context:
space:
mode:
authorDavid Siebörger <drs@sieborger.nom.za>2018-01-29 14:58:42 +0200
committerDavid Siebörger <drs@sieborger.nom.za>2018-01-29 14:58:42 +0200
commit993d81c2ce98a6579b3110a6013c00090dfddaea (patch)
tree4dc585e377553f711eb22678eddd79460b3755a1 /Mailman/Defaults.py.in
parente76749fe918f58c453aab77f0c53ac0342afdadf (diff)
downloadmailman2-993d81c2ce98a6579b3110a6013c00090dfddaea.tar.gz
mailman2-993d81c2ce98a6579b3110a6013c00090dfddaea.tar.xz
mailman2-993d81c2ce98a6579b3110a6013c00090dfddaea.zip
Allow the list subscription form to be protected from spam bots using
reCAPTCHA.
Diffstat (limited to '')
-rwxr-xr-xMailman/Defaults.py.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in
index 309d0ba3..3446aa8d 100755
--- a/Mailman/Defaults.py.in
+++ b/Mailman/Defaults.py.in
@@ -131,6 +131,12 @@ SUBSCRIBE_FORM_SECRET = None
# test.
SUBSCRIBE_FORM_MIN_TIME = seconds(5)
+# Use Google reCAPTCHA to protect the subscription form from spam bots. The
+# following must be set to a pair of keys issued by the reCAPTCHA service at
+# https://www.google.com/recaptcha/
+RECAPTCHA_SITE_KEY = None
+RECAPTCHA_SECRET_KEY = None
+
# Installation wide ban list. This is a list of email addresses and regexp
# patterns (beginning with ^) which are not allowed to subscribe to any lists
# in the installation. This supplements the individual list's ban_list.