[Mailman-Developers] respond_to_post_requests is not configurable but should be

Steffen Mueller mailman-users at xonx.de
Tue Mar 30 07:28:28 EST 2004


Hi.

According to the comments in mailman/Mailman/MailList.py,
respond_to_post_requests should be configurable, but it isn't.

288         # This stuff is configurable
289         self.respond_to_post_requests = 1

See attached patches to fix this.

Should I fill a bugreport or can anyone add this to CVS?

I'm using Mailman version 2.1.4 from Debian Backport 2.1.4-0.backports.org.1
But this appears in the latest 2.x CVS-tree, too.

Thank you all for mailman development.

-- 
cheers,
Steffen Mueller


-------------- next part --------------
diff -urN mailman/Mailman/MailList.py mailman/Mailman/MailList_patched.py
--- MailList.py 2004-03-30 02:34:40.000000000 +0200
+++ MailList_patched.py 2004-03-30 02:35:56.000000000 +0200
@@ -286,7 +286,7 @@
         self.new_member_options = mm_cfg.DEFAULT_NEW_MEMBER_OPTIONS

         # This stuff is configurable
-        self.respond_to_post_requests = 1
+        self.respond_to_post_requests = mm_cfg.DEFAULT_RESPOND_TO_POST_REQUESTS
         self.advertised = mm_cfg.DEFAULT_LIST_ADVERTISED
         self.max_num_recipients = mm_cfg.DEFAULT_MAX_NUM_RECIPIENTS
         self.max_message_size = mm_cfg.DEFAULT_MAX_MESSAGE_SIZE

diff -urN mailman/Mailman/Defaults.py.in mailman/Mailman/Defaults_patched.py
--- Defaults.py.in      2004-03-30 02:38:55.000000000 +0200
+++ Defaults_patched.py 2004-03-30 02:41:39.000000000 +0200
@@ -805,6 +805,9 @@
 # Is the list owner notified of subscribes/unsubscribes?
 DEFAULT_ADMIN_NOTIFY_MCHANGES = No

+# Send mail to poster when their posting is held for approval?
+DEFAULT_RESPOND_TO_POST_REQUESTS = Yes
+
 # Should list members, by default, have their posts be moderated?
 DEFAULT_DEFAULT_MEMBER_MODERATION = No



More information about the Mailman-Developers mailing list