[Mailman-Users] Problem with "Discard all messages marked Defer"
tkikuchi at is.kochi-u.ac.jp
Tue Dec 7 14:25:22 CET 2004
Thank you Jim. I take another way. The term 'all' may be confusing if
only a part of the pending list is shown. I removed the checkbox for
sender/msgid lists in CVS.
Jim Tittsler wrote:
> On Tue, Oct 12, 2004 at 09:44:39PM -0400, David Relson wrote:
>>I've noticed a minor problem with mailman 2.1.5.
>>Occasionally, I will use the "you can view all messages from
>>address at example.com" link. If I click on "Discard all messages marked
>>Defer", the message isn't discarded.
> Thanks for the report. Here is one way to fix it:
> --- Mailman/Cgi/admindb-2.1.5.py 2004-05-01 01:50:42.000000000 +0900
> +++ Mailman/Cgi/admindb.py 2004-12-07 17:47:35.832656288 +0900
> @@ -757,6 +757,8 @@
> mm_cfg.DISCARD, mm_cfg.SUBSCRIBE, mm_cfg.UNSUBSCRIBE,
> mm_cfg.ACCEPT, mm_cfg.HOLD):
> + if v == mm_cfg.DEFER and discardalldefersp:
> + v = mm_cfg.DISCARD
> # Get the action comment and reasons if present.
> commentkey = 'comment-%d' % request_id
> preservekey = 'preserve-%d' % request_id
> You can get the patch file from:
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
More information about the Mailman-Users