diff options
author | msapiro <> | 2006-01-29 17:40:36 +0000 |
---|---|---|
committer | msapiro <> | 2006-01-29 17:40:36 +0000 |
commit | aec23e432acf91c5fb1d996102146b0e6b841ddd (patch) | |
tree | e8e6d4784d5667bffa402173b347593ad8fee0b9 /contrib/mmdsr | |
parent | da4e8d0e966d986a520bca496fea73b6542f5d53 (diff) | |
download | mailman2-aec23e432acf91c5fb1d996102146b0e6b841ddd.tar.gz mailman2-aec23e432acf91c5fb1d996102146b0e6b841ddd.tar.xz mailman2-aec23e432acf91c5fb1d996102146b0e6b841ddd.zip |
Update Brad Knowles' mailman daily status report to version 0.0.16.
Diffstat (limited to 'contrib/mmdsr')
-rw-r--r-- | contrib/mmdsr | 8 |
1 files 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 <brad@stop.mail-abuse.org> +# 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 |