[Mailman-Users] Custom Scripts

2022-12-14 Thread pontus.zoladz--- via Mailman-Users
Hi,
I have developed a custom python script to generate a captcha, to reduce the 
amount of illegitimate users signing up to our mailing lists.
i would like to have the users to complete the captcha before they are able to 
subscribe. Where and how should this script be called from ?
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Custom Scripts

2022-12-14 Thread Mark Sapiro

On 12/14/22 00:43, pontus.zoladz--- via Mailman-Users wrote:

Hi,
I have developed a custom python script to generate a captcha, to reduce the 
amount of illegitimate users signing up to our mailing lists.
i would like to have the users to complete the captcha before they are able to 
subscribe. Where and how should this script be called from ?


First of all, Mailman 2.1 >=2.1.26 already has the ability to add Google 
reCAPTCHA to the subscribe form and >= 2.1.30 can add text based 
captchas (aka textchas) to the subscribe form. See 
https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/Defaults.py.in 
beginning at line 134 for the documentation of the mm_cfg.py settings to 
enable one or both of these.


If you want to add your own, look at 
https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/revision/1815 
for the changes that were made for the latter of these features.


--
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
   https://mail.python.org/archives/list/mailman-users@python.org/