I have a several thousand files in $MM/data/held-msg-LISTNAME-XXX.pck
I presume these are spam or messages that have otherwise ended up 
queued, perhaps waiting for admin approval. I want to delete them so I

> $MM/bin/discard $MM/data/heldmsg-somelist-4586.pck
Discarded held msg #4586 for list somelist

And often it works as indicated above. In some cases, I get a traceback

> $MM/bin/discard $MM/data/heldmsg-anotherlist-2466.pck
Traceback (most recent call last):
   File "/export/mailman/bin/discard", line 120, in ?
     main()
   File "/export/mailman/bin/discard", line 106, in main
     mlist = MailList(listname)
   File "/export/mailman/Mailman/MailList.py", line 126, in __init__
     self.Lock()
   File "/export/mailman/Mailman/MailList.py", line 163, in Lock
     self.Load()
   File "/export/mailman/Mailman/MailList.py", line 580, in Load
     raise Errors.MMUnknownListError
Mailman.Errors.MMUnknownListError

I presume this is simply from a list that no longer exists.

So why do I have so many? Or to put it another way, is there some way I can
sanely determine which should be removed. As a first go round, I'm thinking
of just saying, anything providing traceback, delete and anything older
than one month delete as the admin is obviously ignoring the list.

Does this sound reasonable?

Thanks

  =-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=
  David Stern                                    University of Maryland
            Institute for Advanced Computer Studies
------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp

Reply via email to