[Mailman-Users] set mailman default for nonmember_rejection_notice
msapiro at value.net
Mon Feb 6 19:49:02 CET 2006
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 <msapiro at value.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users