Re: [Mailman-Users] Mailman/Held Messages for Admin

2003-03-02 Thread Dave Stern - Former Rocket Scientist
On Thu, 27 Feb 2003, Ingrid Kast Fuller wrote:

 Is there anyway to SELECT ALL and REJECT ALL in the Held messages for the
 admin.  Our list is getting so many spams, I have to click one by one thru
 136 messages to get rid of all of them.  Is there another way to delete
 them. Maybe I just need to know where the HELD messages are and delete them
 in Unix.  Please let me know if you know the solution by direct email to
 this address. Thanks.



I set up a script that drains the que. It first shows the subject of each:

Define your mailman prefix  and then


cd $PREFIX/data
for listname in `ls heldmsg-*|sed 's/heldmsg-//' | \
   sed 's/\-[0-9]*\.txt*//'| sort -u `

do
  echo Messages queued to list $listname
  egrep ^From:|^Subject:  *$listname*
  echo drain que? (y/n) 
  read  ans
case $ans in
   Y|YES|y|yes)
   cp $PREFIX/request-template.db \
  $PREFIX/lists/$listname/request.db
   rm $PREFIX/data/heldmsg-$listname*
;;
   *)
  continue
   ;;
 esac
done

Note the request-template.db which is just an empty request.db from one
of the un-queued-up lists.


 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Mailman/Held Messages for Admin

2003-03-01 Thread Ingrid Kast Fuller
Is there anyway to SELECT ALL and REJECT ALL in the Held messages for the
admin.  Our list is getting so many spams, I have to click one by one thru
136 messages to get rid of all of them.  Is there another way to delete
them. Maybe I just need to know where the HELD messages are and delete them
in Unix.  Please let me know if you know the solution by direct email to
this address. Thanks.


Ingrid Kast Fuller
CityScope Net, www.cityscope.net, (713) 477-6161
PasadenaTexas.com, www.pasadenatexas.com, (713) 477-3787
CityScope Online, www.cityscopeonline.com, (713) 477-6161



--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Mailman/Held Messages for Admin

2003-03-01 Thread Jon Carnes
Look at the FAQ for an automated way of deleting the held messages.  The FAQ
also discusses the location of the data files and how held messages are
processed.

I assume you are running version 2.0.x since version 2.1.x has the features
you requested.

Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

Good Luck - Jon Carnes
- Original Message -
From: Ingrid Kast Fuller [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 1:35 PM
Subject: [Mailman-Users] Mailman/Held Messages for Admin


 Is there anyway to SELECT ALL and REJECT ALL in the Held messages for the
 admin.  Our list is getting so many spams, I have to click one by one thru
 136 messages to get rid of all of them.  Is there another way to delete
 them. Maybe I just need to know where the HELD messages are and delete
them
 in Unix.  Please let me know if you know the solution by direct email to
 this address. Thanks.


 Ingrid Kast Fuller



--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org