On 10/24/23 06:04, David L. Dewey wrote:
Quoting Jim Dory (james@dorydesign.com):
On 10/23/23 17:38, richard@karmannghia.org wrote:
On Mon, 23 Oct 2023, ddewey@cyberthugs.com wrote:
...<snip!>...
Implementing the google captcha solution to Mailman a week or so ago stopped it dead. For now... Hi Jim,
Interesting, and thanks for posting.
Can you please describe, briefly, as an overview only, what that interface is like?
I'm sure I can look up details, but, well, "details matter!" (And I don't mean the nitty gritty of installation or whatever.) I'm interested in implementation overview in how that relates to the user's experience - I already know what 'captcha' is like! We're talking web interface details, right?
Thanks, Richard Hello Richard,
It was ddewey that mentioned the captcha. I am interested in implementing it and googled it - found things from about 10 years ago, and mailman post from 2017. I have mailman version 2.1.39 on a VPS hosted server (with WHM and CPanel) with root privileges, though not sure I have the chutzpa to install it. Could give it a try I suppose.
The mailman post was https://mail.python.org/pipermail/mailman-users/2017-December/082820.html for 2.1.39 (same as I'm running) it's built-in. No need to install any python modules (I didn't, on a RHEL 7 instance).
Apply for the (very important) v2 captcha keys from Google. Add the following 2 keys to the end of your mm_cfg.py: RECAPTCHA_SITE_KEY = xxxx RECAPTCHA_SECRET_KEY = xxxxxxx
If you have not modified your list_info files, you're done. If you have, then you'll need to add the tags from that above post to your list_info files.
I've started getting these spamming attacks again so thought I would dive into trying this recaptcha. I got the keys for V2 recaptcha from google and put the 2 lines at the bottom of the mm_cfg.py with proper keys from google. Spelling double checked. After saving the file, I can't log into the web interface of mailman - I get a Bad Request error page. I commented out the RECAPTCHA_*_* lines and could then access the admin web pages again.
David wrote that if I modified the list_info files then I needed to add something to them. As far as modifying them, I did add a paragraph description to the "Details for info" and the description under the General Options section of the web admin pages. What would I add and to which files? I don't see list_info under /usr/local/cpanel/3rdparty/mailman/Mailman/ .
Any advice? thanks, Jim