Re: [Mailman-Users] set mailman default for nonmember_rejection_notice
That is good to know. Is the Mailman/Handlers/Moderate.py file overwritten in an upgrade? I recently changed all lists using withlist to use specific text for rejected non-member messages. If I modify the Moderate.py file, that should take care of all new lists, unless a list owner chooses to modify their list. Christopher Adams Mark Sapiro wrote: Christopher Adams wrote: I am trying to set the default message (for new lists) for non-member posts that are rejected. In mm_cfg.py, I have tried: NONMEMBER_REJECTION_NOTICE= Blah blah blah blah That doesn't work. I understand that Python can use single, double, or triple quotes. None of these work. The problem is not in the syntax of your assignment, The problem is the default nonmember_rejection_notice for new lists is the null string (which in turn causes the default notice coded into Mailman/Handlers/Moderate.py to be used) and there is no provision for setting a different default in mm_cfg.py. In general, the only things that can be meaningfully set in mm_cfg.py are those things which are defined in Defaults.py. -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
[Mailman-Users] set mailman default for nonmember_rejection_notice
I am trying to set the default message (for new lists) for non-member posts that are rejected. In mm_cfg.py, I have tried: NONMEMBER_REJECTION_NOTICE= Blah blah blah blah That doesn't work. I understand that Python can use single, double, or triple quotes. None of these work. -- Christopher Adams -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] set mailman default for nonmember_rejection_notice
Christopher Adams wrote: I am trying to set the default message (for new lists) for non-member posts that are rejected. In mm_cfg.py, I have tried: NONMEMBER_REJECTION_NOTICE= Blah blah blah blah That doesn't work. I understand that Python can use single, double, or triple quotes. None of these work. The problem is not in the syntax of your assignment, The problem is the default nonmember_rejection_notice for new lists is the null string (which in turn causes the default notice coded into Mailman/Handlers/Moderate.py to be used) and there is no provision for setting a different default in mm_cfg.py. In general, the only things that can be meaningfully set in mm_cfg.py are those things which are defined in Defaults.py. -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp