diff options
author | David Planella <david.planella@gmail.com> | 2009-01-29 00:22:52 +0100 |
---|---|---|
committer | David Planella <david.planella@gmail.com> | 2009-01-29 00:22:52 +0100 |
commit | 518b3843c0117f24b1b277a724169fb616604e4d (patch) | |
tree | 01ab5cbe392ff3a8e851dae1be4eb3a8cf8ed439 /contrib | |
parent | 42fcf522d7818e9e1ee922d1a68824b0f6dcc83d (diff) | |
parent | c0da6af58657b1fe5730d3dea0e78bc17dac490a (diff) | |
download | mailman2-518b3843c0117f24b1b277a724169fb616604e4d.tar.gz mailman2-518b3843c0117f24b1b277a724169fb616604e4d.tar.xz mailman2-518b3843c0117f24b1b277a724169fb616604e4d.zip |
Merged from upstream
Diffstat (limited to 'contrib')
-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 |