Re: [Mailman-Users] Discard/Ban all messages pending moderation

2013-05-31 Thread Mark Sapiro
Mark Sapiro wrote: > If there are so many that this is unwieldy, you could do this with a > withlist script. Something along the lines of the following totally > untested script: > > from Mailman import mm_cfg > def discard(mlist): > for id in mlist.GetHeldMessageIds(): > sender = mlis

Re: [Mailman-Users] Discard/Ban all messages pending moderation

2013-05-30 Thread Seun Ojedeji
On Thu, May 30, 2013 at 11:49 PM, Mark Sapiro wrote: > On 05/30/2013 11:37 AM, Seun Ojedeji wrote: > > Hello, > > > > I was wondering, is there a way i could discard all pending moderation > > messages and also simultaneously add the sender's address to discard for > > subsequent mails? > > > If

Re: [Mailman-Users] Discard/Ban all messages pending moderation

2013-05-30 Thread Mark Sapiro
On 05/30/2013 11:37 AM, Seun Ojedeji wrote: > Hello, > > I was wondering, is there a way i could discard all pending moderation > messages and also simultaneously add the sender's address to discard for > subsequent mails? If there aren't too many, it should be easy enough to go to the admindb i

[Mailman-Users] Discard/Ban all messages pending moderation

2013-05-30 Thread Seun Ojedeji
Hello, I was wondering, is there a way i could discard all pending moderation messages and also simultaneously add the sender's address to discard for subsequent mails? Regards -- *Seun Ojedeji, Federal University Oye-Ekit