[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mailman-cvs
Subject:    [Mailman-checkins] [Branch ~mailman-coders/mailman/2.1] Rev 1598: Modified contrib/mmdsr to report D
From:       noreply () launchpad ! net
Date:       2016-01-31 15:40:37
Message-ID: 20160131154037.19187.72016.launchpad () ackee ! canonical ! com
[Download RAW message or body]

------------------------------------------------------------
revno: 1598
committer: Mark Sapiro <mark@msapiro.net>
branch nick: 2.1
timestamp: Sun 2016-01-31 07:37:08 -0800
message:
  Modified contrib/mmdsr to report DMARC lookups in its own category.
modified:
  NEWS
  contrib/mmdsr


--
lp:mailman/2.1
https://code.launchpad.net/~mailman-coders/mailman/2.1

Your team Mailman Checkins is subscribed to branch lp:mailman/2.1.
To unsubscribe from this branch go to https://code.launchpad.net/~mailman-c=
oders/mailman/2.1/+edit-subscription

["revision-diff.txt" (revision-diff.txt)]

=== modified file 'NEWS'
--- NEWS	2016-01-21 22:43:42 +0000
+++ NEWS	2016-01-31 15:37:08 +0000
@@ -36,6 +36,9 @@
 
   Bug fixes and other patches
 
+    - Modified contrib/mmdsr to report held and banned subscriptions and DMARC
+      lookups in their own categories.
+
     - Fixed a bug that could create a garbled From: header with certain DMARC
       mitigation actions.  (LP: #1536816)
 

=== modified file 'contrib/mmdsr'
--- contrib/mmdsr	2015-10-02 00:43:24 +0000
+++ contrib/mmdsr	2016-01-31 15:37:08 +0000
@@ -193,6 +193,11 @@
 #               own categories instead of in other errors.
 #               Replaced s/\+\d+@/+<digits>@/ in vette log
 #               banned subscription messages due to flood of such.
+#
+# 0.0.25        Update by Mark Sapiro <mark@msapiro.net>
+#               Updated on: Sun Jan 31 07:13:47 PST 2016
+#               Report vette log DMARC lookups as their own
+#               category instead of in other errors.
 
 ###############################################################################
 # Set up locations of standard commands, directories, etc....
@@ -537,9 +542,14 @@
 	    $GREP -i 'banned subscription' $TMPLOG | $AWK '{ print $6 " " $9 }' | $SED -e \
's/\+[0-9][0-9]*@/+<digits>@/' | $SORT | $UNIQ -c | $SORT -nr >> $TMP  
 	    echo "" >> $TMP
+	    echo "DMARC lookups" >> $TMP
+	    echo "------------------------------" >> $TMP
+	    $GREP -i "DMARC lookup for" $TMPLOG | $AWK '{ print $10 " " $13 }' | $SORT | \
$UNIQ -c | $SORT -nr >> $TMP +
+	    echo "" >> $TMP
 	    echo "Other Errors:" >> $TMP
 	    echo "------------------------------" >> $TMP
-	    $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|held subscription request|banned subscription)' $TMPLOG | $SED -e \
's/^.* ([0-9]*) //' -e 's/, message-id=<[^> ]*>:/:/' | $SORT | $UNIQ -c | $SORT -nr \
>> $TMP  +	    $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|held subscription request|banned subscription|dmarc \
> > lookup for)' $TMPLOG | $SED -e 's/^.* ([0-9]*) //' -e 's/, message-id=<[^> \
> > ]*>:/:/' | $SORT | $UNIQ -c | $SORT -nr >> $TMP 
 
 	elif [ "${LOG}" = "smtp-failure" ] ; then
 



_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: https://mail.python.org/mailman/options/mailman-checkins/mailman-cvs%40progressive-comp.com



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic