[Mailman-Developers] config_list bug with subscribe_policy

Hrvoje Niksic hniksic@iskon.hr
21 Jul 2000 15:38:38 +0200


Has anyone looked at this?  It doesn't matter to me personally that
much since I've located and worked around the problem, but it might be
confusing for others.


Hrvoje Niksic <hniksic@iskon.hr> writes:

> The subscribe_policy parameter is a bit specific in that it can be 0,
> 1, 2, or 3, except that 0 can be turned off on a per-site basis (which
> is done by default, at least under Debian).
> 
> The web GUI makes sure that the RadioButtonArray gets set up with the
> current setting of subscribe_policy correctly laid out, which depends
> on whether the site-wide option is turned on or off.
> 
> However, the config_list utility does not seem to understand the
> convention, and prints the following:
> 
> # legal values are:
> #    0 = "confirm"
> #    1 = "require approval"
> #    2 = "confirm+approval"
> subscribe_policy = 1
> 
> The number is correct, but the comment is not; the list in question
> does not require approval -- it merely asks for confirmation.
> 
> config_list should probably have a special-case for subscribe_policy,
> as the graphical tools do.  Otherwise the comment is very misleading
> for people who hope to use config_list to import lists to Mailman.
> 
> _______________________________________________
> Mailman-Developers mailing list
> Mailman-Developers@python.org
> http://www.python.org/mailman/listinfo/mailman-developers