From aec23e432acf91c5fb1d996102146b0e6b841ddd Mon Sep 17 00:00:00 2001 From: msapiro <> Date: Sun, 29 Jan 2006 17:40:36 +0000 Subject: Update Brad Knowles' mailman daily status report to version 0.0.16. --- contrib/mmdsr | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/contrib/mmdsr b/contrib/mmdsr index 3b6e49fd..25c52e0f 100644 --- a/contrib/mmdsr +++ b/contrib/mmdsr @@ -144,6 +144,11 @@ # as opposed to just doing a directory listing and skipping # the files in the middle if there are too many -- now we # know how many are being skipped. +# +# 0.0.16 Update by Brad Knowles +# Updated on: Sun Jan 29 11:45:58 CET 2006 +# Mark found a couple of typos that I somehow let slip +# through. Thanks! ############################################################################### # Set up locations of standard commands, directories, etc.... @@ -297,9 +302,9 @@ do $TOUCH $TMPLOG echo "Log file: $LOG" >> $TMP echo "==============================" >> $TMP - $SED -e :a -e '$!N;s/\n //;ta' -e 'P;D' $LOGDIR/$LOG | $GREP -si "^$DAY [0-9][0-9:]* $YEAR" >> $TMPLOG if [ -f "$LOGDIR/${LOG}" ] ; then + $SED -e :a -e '$!N;s/\n //;ta' -e 'P;D' $LOGDIR/$LOG | $GREP -si "^$DAY [0-9][0-9:]* $YEAR" >> $TMPLOG if [ "${LOG}" = "post" ] ; then @@ -466,7 +471,6 @@ do echo "" >> $TMP echo "Other Errors:" >> $TMP echo "------------------------------" >> $TMP -MYUID=`$PS -o user -p $$ | $TAIL -1` $EGREP -vi '(Post by non-member|suspicious header|message approved|Discarded posting|bulk message discarded|junk message discarded|Message has implicit destination|Posting to a moderated newsgroup|Post to moderated list|Message discarded, msgid)' $TMPLOG | $SED -e 's/^.* ([0-9]*) //' -e 's/, message-id=<[^> ]*>:/:/' | $SORT | $UNIQ -c | $SORT -nr >> $TMP elif [ "${LOG}" = "smtp-failure" ] ; then -- cgit v1.2.3