[ mailman-Patches-1107169 ] Re-use member_moderation_notice for generic_nonmember_action

SourceForge.net noreply at sourceforge.net
Sat Jan 22 03:54:44 CET 2005


Patches item #1107169, was opened at 2005-01-22 02:54
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1107169&group_id=103

Category: bounce processing
Group: Mailman 2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Brad Knowles (shub)
Assigned to: Nobody/Anonymous (nobody)
Summary: Re-use member_moderation_notice for generic_nonmember_action

Initial Comment:
With Mailman 2.1.5, it's possible to create a fairly nicely worded 
rejection/moderation message in the member_moderation_notice 
field, and be able to maintain that via the web as opposed to a 
template file.

However, there is no corresponding way to create a nice notice for 
people who are trying to post to the list but are not members.  It is 
not uncommon to want to set the list so that no members are 
moderated by default (so that the member_moderation_notice 
does not apply), but to set the generic_nonmember_action to be 
Reject or Hold.  Unfortunately, default standard text is hard-coded 
into Mailman/Handlers/Moderate.py for these instances.


I'd be fine with a template file that I could modify, along the lines 
of postheld.txt -- at least that would allow me to put in URLs 
properly formatted with less-than and greater-than signs which 
don't get HTML-escaped when the text is saved.  ;(

Alternatively, a separate field should probably be created, probably 
something like generic_nonmember_notice, or somesuch.  That 
way you could have two different notices for the two different 
cases, as appropriate.


However, I don't grok Python, and I'm not a real programmer.  So, 
I have hacked together a little patch that allows me to re-use the 
member_moderation_notice as a result of the setting of 
generic_nonmember_action.

I hope you find this useful.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1107169&group_id=103


More information about the Mailman-coders mailing list