[Mailman-Developers] How to make mods to config.db?

Peter C. Norton spacey-mailman@lenin.nu
Tue, 4 Dec 2001 01:50:49 -0800


Is there a simple way to modify config.db for an update?  I've created a
custom config variable and some actions based on it.  To work properly it
seems to need to be added to config.db for existing lists (it seems to work
fine for new lists), and I'm having some trouble finding the "right" way to
do this.

I have added the following to versions.py:

    # Add the option to not have to admin bouncing messages
        if not hasattr(l, "auto_reject_nonmembers"):
            setattr(l, "auto_reject_nonmembers", mm_cfg.DEFAULT_AUTO_REJECT_NONMEMBERS)

But this doesn't seem to update the list after a "make install" of an
updgrade.

Any help is appreciated,
-Peter

-- 
The 5 year plan:
In five years we'll make up another plan.
Or just re-use this one.