Jim Dory writes:
> 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.
There's a lot missing here.
1. What version of what operating system are you using?
Ubuntu and Debian are likely to require some hoop-jumping to get
the needed software installed.
2. What version of Python are you using?
3. What version of Mailman are you using?
If it's recent enough, the listinfo.* pages will include a tag
"<mm-recaptcha-ui>" which does all the heavy lifting for you.
4. How did you install Mailman? Preinstalled on a cPanel host, from
the OS, from source in a virtual environment, other from source?
> web admin pages. What would I add and to which files? I don't see
> list_info underĀ /usr/local/cpanel/3rdparty/mailman/Mailman/ .
Try `find /usr/local/cpanel/3rdparty/mailman -name 'listinfo.*'`
and you should see a bunch of them. Most likely you are only
interested in
/usr/local/cpanel/3rdparty/mailman/templates/en/listinfo.html
and maybe the .txt version of that file if it exists, but if you offer
other languages to your users, you may need to deal with the
$TWO_LETTER_LANGUAGE_CODE/listinfo.* versions for those languages.
------------------------------------------------------
Mailman-Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/
https://mail.python.org/archives/list/[email protected]/
Member address: [email protected]