------------------------------------------------------------
revno: 1085
committer: Mark Sapiro <[EMAIL PROTECTED]>
branch nick: 2.1
timestamp: Fri 2008-06-06 10:49:41 -0700
message:
Updated mmdsr for some 2.1.10 log and queue changes.
modified:
NEWS
contrib/mmdsr
=== modified file 'NEWS'
--- a/NEWS 2008-05-08 03:46:19 +0000
+++ b/NEWS 2008-06-06 17:49:41 +0000
@@ -14,7 +14,7 @@
to 'bad'.
- Fixed a bug introduced in 2.1.10 that caused some email subscribe
- requests to be shunted.
+ requests to be shunted (1966837).
- Fixed a problem with bin/update erroneously moving templates from
templates/xx to lists/xx if a list has the same name as a language
@@ -23,6 +23,10 @@
- Changed Utils.ValidateEmail to not allow specials (particularly ':')
in unquoted local parts (1956393).
+ Miscellaneous
+
+ - Brad Knowles' mailman daily status report script updated to 0.0.18.
+
2.1.10 (21-Apr-2008)
Security
=== modified file 'contrib/mmdsr'
--- a/contrib/mmdsr 2008-02-01 21:37:53 +0000
+++ b/contrib/mmdsr 2008-06-06 17:49:41 +0000
@@ -2,7 +2,7 @@
###############################################################################
# mmdsr -- Mailman Daily Status Report (cron job, run at 23:59)
###############################################################################
-# Copyright (c) 2005, Brad Knowles
+# Copyright (c) 2005-2008 Brad Knowles
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -154,6 +154,13 @@
# Updated on: Thu Jan 3 18:25:06 PST 2008
# Enabled processing the prior generation of a rotated log.
# Added SORT_FIELD to the user modifiable parameters.
+# 0.0.18 Update by Mark Sapiro <[EMAIL PROTECTED]>
+# Updated on: Tue May 13 08:58:26 PDT 2008
+# Changes for Mailman 2.1.10 --
+# Added 'bad' to the list of queues.
+# Made listing of a queue directory conditional on existence.
+# Sumarized unparseable messages and preserved queue entries
+# in the Other Errors section.
###############################################################################
# Set up locations of standard commands, directories, etc....
@@ -227,7 +234,7 @@
###############################################################################
# Mailman queue subdirectories to check. No need to specify path, only name.
###############################################################################
-SUBDIRS="archive bounces commands in news out retry shunt virgin"
+SUBDIRS="archive bad bounces commands in news out retry shunt virgin"
###############################################################################
# Specify the field specifier used by your sort command to select the second
@@ -418,7 +425,7 @@
echo "" >> $TMP
echo "Other Errors:" >> $TMP
echo "------------------------------" >> $TMP
- $EGREP -vi '(Uncaught runner exception|No such list|Ignoring
unparseable message|Traceback|shunting)' $TMPLOG | $SED 's/^.* ([0-9]*) //' |
$SORT | $UNIQ -c | $SORT -nr >> $TMP
+ $EGREP -vi '(Uncaught runner exception|No such
list|Traceback|shunting)' $TMPLOG | $SED 's/^.* ([0-9]*) //' | $SED
's/unparseable message.*/unparseable message/' | $SED 's/preserving
file.*/preserving file/' | $SORT | $UNIQ -c | $SORT -nr >> $TMP
elif [ "${LOG}" = "fromusenet" ] ; then
@@ -519,6 +526,7 @@
for DIR in $SUBDIRS
do
+ if [ -d $DIR ] ; then
$RM -f $TMPLOG
$TOUCH $TMPLOG
$LS -la $DIR >> $TMPLOG
@@ -540,6 +548,7 @@
$TAIL $TMPLOG >> $TMP
fi
echo "" >> $TMP
+ fi
done
--
Stable, maintained release series
https://code.launchpad.net/~mailman-coders/mailman/2.1
You are receiving this branch notification because you are subscribed to it.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org