I can't get to the pending request page for a mailing list. (My web clients just say "waiting for response" and finally give up.) I think it is because there are too many pending requests after some problems. (config.db is almost 10MB.)
How can I do this some other way?
"PS" == Per Starback <starback@ling.uu.se> writes:
PS> I can't get to the pending request page for a mailing list.
PS> (My web clients just say "waiting for response" and finally
PS> give up.) I think it is because there are too many pending
PS> requests after some problems. (config.db is almost 10MB.)
Just to give a heads up, I'm soon going to be checking in some massive changes in this (and other regards). I'll be sending a long email to mailman-developers outlining the changes so if you're interested, please either join that list or read the archives. (I hope to make the post by the end of today).
-Barry
I can't get to the pending request page for a mailing list. (My web clients just say "waiting for response" and finally give up.) I think it is because there are too many pending requests after some problems. (config.db is almost 10MB.)
How can I do this some other way?
python -i $prefix/bin/withlist -l [listname]
m.requests={} m.Save() ^D
That will clear out all pending administrative requests.
NOTE: ^D is in fact [CTRL]-D. Be very, very careful...
Chris
I've kept this little bit of python handy for cleaning out posts in moderated lists that end up with too many posts to handle manually.
python -i $prefix/bin/withlist -l [listname]
m.requests={} m.Save() ^D
That will clear out all pending administrative requests.
NOTE: ^D is in fact [CTRL]-D. Be very, very careful...
This is no longer working for me. No idea when it stopped working since it is not used very often. When I run it I get
$ python -i pwd
/bin/withlist -l faucettalk
Loading list: faucettalk (locked)
m.requests={} m.Save()
Unlocking (but not saving) list: faucettalk Finalizing $
What am I doing wrong?
Thanks, Dan
Dan Busarow 949 443 4172 Dana Point Communications, Inc. dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82
On Mon, 7 Jul 2003 10:31:35 -0700 (PDT) Dan Busarow <dan@dpcsys.com> wrote:
This is no longer working for me. No idea when it stopped working since it is not used very often. When I run it I get I use the following script. I think I found it on the mailman faq or posted to this list. Note that I use a pre-made empty request.db. I was getting over 100 requests a day on one of my lists.
#!/bin/bash # usage remove_held <list> # removes held messages RM=/bin/rm if [ $# != 1 ] then echo "usage: $0 <listname>" exit -1 fi LISTNAME=$1 EMPTY=~mailman/data/request.db.empty HELD=~mailman/data/heldmsg-$LISTNAME TARGET=~mailman/lists/$LISTNAME if [ ! -e $EMPTY ] then echo "$EMPTY not found" exit -1 fi if [ ! -d $TARGET ] then echo "$TARGET not found" exit -1 fi $RM -fv $HELD* cp $EMPTY $TARGET/request.db exit 0
-- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
Worked like a charm. Hadn't noticed that request.db was a separate file.
Thanks, Dan
Dan Busarow 949 443 4172 Dana Point Communications, Inc. dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82
participants (5)
-
Barry A. Warsaw
-
Christopher Lindsey
-
Dan Busarow
-
Jerry Feldman
-
Per Starback