SF.net SVN: logwatch:[291] trunk/scripts/services/dovecot

[email protected] Wed, 25 Mar 2015 16:21:19 +0000
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
Revision: 291
          http://sourceforge.net/p/logwatch/code/291
Author:   opoplawski
Date:     2015-03-25 16:21:19 +0000 (Wed, 25 Mar 2015)
Log Message:
-----------
[dovecot] Handle lmtp vacation responses

Modified Paths:
--------------
    trunk/scripts/services/dovecot

Modified: trunk/scripts/services/dovecot
===================================================================
--- trunk/scripts/services/dovecot	2015-02-03 21:08:19 UTC (rev 290)
+++ trunk/scripts/services/dovecot	2015-03-25 16:21:19 UTC (rev 291)
@@ -144,7 +144,8 @@
           ($ThisLine =~ /IMAP.*: Connection closed bytes/) or
           ($ThisLine =~ /IMAP.* failed with mbox file/) or
 	  ($ThisLine =~ /discarded duplicate forward to/) or 
-	  ($ThisLine =~ /discarding vacation response/) 
+	  ($ThisLine =~ /discarding vacation response/) or
+	  ($ThisLine =~ /discarded vacation reply to/) 
 	  )
          { 
          # We don't care about these
@@ -202,10 +203,10 @@
       $Forwarded{$User}{$Recip}++;
 
 # sieve vacation
-    } elsif (($User, $Recip) = ($ThisLine =~ /^$dovecottag (?:lda|deliver)\((.*)\): sieve: msgid=.* sent vacation response to \<(.*)\>/)) {
+    } elsif (($User, $Recip) = ($ThisLine =~ /^$dovecottag (?:lda|deliver|lmtp)\((?:\d+, )?(.*)\):(?: .*:)? sieve: msgid=.* sent vacation response to \<(.*)\>/)) {
       $VacationResponse{$User}{$Recip}++;
 
-    } elsif (($User, $Recip) = ($ThisLine =~ /^$dovecottag (?:lda|deliver)\((.*)\): sieve: msgid=.* discarded duplicate vacation response to \<(.*)\>/ )) {
+    } elsif (($User, $Recip) = ($ThisLine =~ /^$dovecottag (?:lda|deliver|lmtp)\((?:\d+, )?(.*)\):(?: .*:)? sieve: msgid=.* discarded duplicate vacation response to \<(.*)\>/ )) {
       $VacationDup{$User}{$Recip}++;
 
     } elsif ( $ThisLine =~ /^$dovecottag (?:lda|deliver|lmtp)\(.*\): .*sieve: msgid=.* marked message to be discarded if not explicitly delivered/ ) {

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/