Problem with "Discard all messages marked Defer"
![](https://secure.gravatar.com/avatar/3c02fc238599e8f224f576748212aeaf.jpg?s=120&d=mm&r=g)
Greetings,
I've noticed a minor problem with mailman 2.1.5.
My main use of the admindb page is deleting spam. From admin page http://www.mydomain.com/mailman/admindb/mylist, checking "Discard all messages marked Defer" and clicking on SUBMIT works fine.
Occasionally, I will use the "you can view all messages from address@example.com" link. If I click on "Discard all messages marked Defer", the message isn't discarded.
What the heck's going on here???
David
![](https://secure.gravatar.com/avatar/4f36b4d2b1cde650bbb41d889c64bc07.jpg?s=120&d=mm&r=g)
On Tue, Oct 12, 2004 at 09:44:39PM -0400, David Relson wrote:
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> -- Jim Tittsler http://www.OnJapan.net/ GPG: 0x01159DB6 Python Starship http://Starship.Python.net/ Ringo MUG Tokyo http://www.ringo.net/rss.html
![](https://secure.gravatar.com/avatar/55289e5a03644b70626b52382ae5e1f6.jpg?s=120&d=mm&r=g)
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:
-- Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp http://weather.is.kochi-u.ac.jp/
![](https://secure.gravatar.com/avatar/4f36b4d2b1cde650bbb41d889c64bc07.jpg?s=120&d=mm&r=g)
On Tue, Oct 12, 2004 at 09:44:39PM -0400, David Relson wrote:
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> -- Jim Tittsler http://www.OnJapan.net/ GPG: 0x01159DB6 Python Starship http://Starship.Python.net/ Ringo MUG Tokyo http://www.ringo.net/rss.html
![](https://secure.gravatar.com/avatar/55289e5a03644b70626b52382ae5e1f6.jpg?s=120&d=mm&r=g)
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:
-- Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp http://weather.is.kochi-u.ac.jp/
participants (3)
-
David Relson
-
Jim Tittsler
-
Tokio Kikuchi