diff options
author | Mark Sapiro <mark@msapiro.net> | 2008-12-02 16:18:14 -0800 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2008-12-02 16:18:14 -0800 |
commit | d8ccacfb9cf44a74a7703b2aa184fe0de2e959da (patch) | |
tree | 25eeec2cad398e2db41469771e8ffca68a0920a8 /contrib/mmdsr | |
parent | 8e33ae27a67549dd2c8e9ed68862df57a2daf122 (diff) | |
download | mailman2-d8ccacfb9cf44a74a7703b2aa184fe0de2e959da.tar.gz mailman2-d8ccacfb9cf44a74a7703b2aa184fe0de2e959da.tar.xz mailman2-d8ccacfb9cf44a74a7703b2aa184fe0de2e959da.zip |
Updated mmdsr to 0.0.19 correcting a minor fromusenet reporting error.
Diffstat (limited to 'contrib/mmdsr')
-rw-r--r-- | contrib/mmdsr | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/contrib/mmdsr b/contrib/mmdsr index eb7031b3..a8f11b43 100644 --- a/contrib/mmdsr +++ b/contrib/mmdsr @@ -154,6 +154,7 @@ # 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 <mark@msapiro.net> # Updated on: Tue May 13 08:58:26 PDT 2008 # Changes for Mailman 2.1.10 -- @@ -161,6 +162,12 @@ # Made listing of a queue directory conditional on existence. # Sumarized unparseable messages and preserved queue entries # in the Other Errors section. +# +# 0.0.19 Update by Mark Sapiro <mark@msapiro.net> +# Updated on: Sun Nov 30 10:26:15 PST 2008 +# Changed processing of fromusenet posts. Previously, mmdsr +# reported as gated only the first and last of a gated range. +# Now mmdsr reports every post from the 'posted to' entries. ############################################################################### # Set up locations of standard commands, directories, etc.... @@ -350,14 +357,14 @@ do elif [ "${LOG}" = "fromusenet" ] ; then - GRPS=`$EGREP -vi '(watermark:|nothing new| posted to |: \[[0-9\.]*\])' $TMPLOG | $GREP -i ' gating ' | $AWK '{ print $7 }' | $SORT -u | $FMT -w 75` + GRPS=`$EGREP -vi '(watermark:|nothing new| gating |: \[[0-9\.]*\])' $TMPLOG | $GREP -i ' posted to ' | $AWK '{ print $9 }' | $SED -e 's/:$//' | $SORT -u | $FMT -w 75` for GRP in $GRPS do echo "" >> $TMP echo "$GRP Article #'s Gated:" >> $TMP echo "------------------------------" >> $TMP - $EGREP -vi '(watermark:|nothing new| posted to |: \[[0-9\.]*\])' $TMPLOG | $GREP -i " gating " | $GREP -i " $GRP " | $SED -e 's/^.*\[//' -e 's/\]$//' -e 's/\.\./ /' | $TR ' ' '\n' | $SORT -u | $FMT -w 75 >> $TMP + $EGREP -vi '(watermark:|nothing new| gating |: \[[0-9\.]*\])' $TMPLOG | $GREP -i " posted to " | $GREP -i " $GRP: " | $AWK '{print $10}' | $SORT -u | $FMT -w 75 >> $TMP done elif [ "${LOG}" = "smtp" ] ; then |