> We need a command line script alternative to the web
> page radio buttons, and we are willing to pay for it!

Here's what I did: in Mailman/Cgi/admindb.py, there's some code that
looks like this:

    buttons.AddRow(map(lambda x, s=' '*5: s+x+s,
                       ('Defer', 'Approve', 'Reject', 'Discard')))
    buttons.AddRow([Center(RadioButton(id, mm_cfg.DEFER, 1)),
                    Center(RadioButton(id, mm_cfg.APPROVE, 0)),
                    Center(RadioButton(id, mm_cfg.REJECT, 0)),
                    Center(RadioButton(id, mm_cfg.DISCARD, 0)),
                    ])


Change the DEFER default to '0' from '1' and change DISCARD from '0' to
'1' and then when you visit the web page, the default action selected is
to DISCARD the pending message; after a quick scan to look for 'legit'
messages, you can drop them all in one click.

You're welcome; that'll be $1.5M.

:-)

/jordan


------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to