Yes, I know a little behind in version updates. Any rate, I am trying to at least slow down the bots which are hammering our subscribe pages.
The challenge (and it’s all me) is in getting baby steps to work.
I am looking to start with SUBSCRIBE_FORM_SECRET, but honestly just don’t get the definition of a “non-empty string”
The default is SUBSCRIBE_FORM_SECRET = None
If I replace None with anything else, I get the following when I try to restart mailman
Traceback (most recent call last): File "../bin/mailmanctl", line 107, in <module> from Mailman import mm_cfg File "/var/lib/mailman/Mailman/mm_cfg.py", line 167, in <module> SUBSCRIBE_FORM_SECRET = random NameError: name 'random' is not defined
— Tom Coradeschi tjcora@icloud.com
On 2/18/23 8:53 AM, Thomas Coradeschi via Mailman-Users wrote:
Yes, I know a little behind in version updates. Any rate, I am trying to at least slow down the bots which are hammering our subscribe pages.
The challenge (and it’s all me) is in getting baby steps to work.
I am looking to start with SUBSCRIBE_FORM_SECRET, but honestly just don’t get the definition of a “non-empty string”
The default is SUBSCRIBE_FORM_SECRET = None
If I replace None with anything else, I get the following when I try to restart mailman
Traceback (most recent call last): File "../bin/mailmanctl", line 107, in <module> from Mailman import mm_cfg File "/var/lib/mailman/Mailman/mm_cfg.py", line 167, in <module> SUBSCRIBE_FORM_SECRET = random NameError: name 'random' is not defined
— Tom Coradeschi tjcora@icloud.com
The file is a "Python" script, so you need to enter the string as a python string, something like:
SUBSCRIBE_FROM_SECRET = "My Secret"
-- Richard Damon
On 18 Feb 2023, at 10:17 AM, Richard Damon <Richard@Damon-Family.org> wrote:
On 2/18/23 8:53 AM, Thomas Coradeschi via Mailman-Users wrote:
Yes, I know a little behind in version updates. Any rate, I am trying to at least slow down the bots which are hammering our subscribe pages.
The challenge (and it’s all me) is in getting baby steps to work.
I am looking to start with SUBSCRIBE_FORM_SECRET, but honestly just don’t get the definition of a “non-empty string”
The default is SUBSCRIBE_FORM_SECRET = None
If I replace None with anything else, I get the following when I try to restart mailman
Traceback (most recent call last): File "../bin/mailmanctl", line 107, in <module> from Mailman import mm_cfg File "/var/lib/mailman/Mailman/mm_cfg.py", line 167, in <module> SUBSCRIBE_FORM_SECRET = random NameError: name 'random' is not defined
— Tom Coradeschi tjcora@icloud.com
The file is a "Python" script, so you need to enter the string as a python string, something like:
SUBSCRIBE_FROM_SECRET = "My Secret”
Ah. Too easy.
Thanks!
— Tom Coradeschi tjcora@icloud.com
I was looking for the official HOWTO/FAQ, but it evades me. However, this link has all the details: https://www.ralfj.de/blog/2018/06/10/mailman-subscription-spam-continued.htm...
But, why not just migrate to MM3 now instead of still staying at MM2? Company policy???
On Sat, Feb 18, 2023 at 4:56 PM Thomas Coradeschi via Mailman-Users < mailman-users@python.org> wrote:
Yes, I know a little behind in version updates. Any rate, I am trying to at least slow down the bots which are hammering our subscribe pages.
The challenge (and it’s all me) is in getting baby steps to work.
I am looking to start with SUBSCRIBE_FORM_SECRET, but honestly just don’t get the definition of a “non-empty string”
The default is SUBSCRIBE_FORM_SECRET = None
If I replace None with anything else, I get the following when I try to restart mailman
Traceback (most recent call last): File "../bin/mailmanctl", line 107, in <module> from Mailman import mm_cfg File "/var/lib/mailman/Mailman/mm_cfg.py", line 167, in <module> SUBSCRIBE_FORM_SECRET = random NameError: name 'random' is not defined
— Tom Coradeschi tjcora@icloud.com
Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an email to mailman-users-leave@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/ Member address: odhiambo@gmail.com
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
participants (3)
-
Odhiambo Washington
-
Richard Damon
-
Thomas Coradeschi