[Mailman-Users] Problem with "Discard all messages marked Defer"

Tokio Kikuchi 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):
>              continue
> +	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:
> <https://sourceforge.net/tracker/index.php?func=detail&aid=1080477&group_id=103&atid=300103>
> 
> 

-- 
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/




More information about the Mailman-Users mailing list