From 88fb0d43e39f00859813a506fd2db467c5e86f0f Mon Sep 17 00:00:00 2001 From: Frank Crawford Date: Tue, 26 Apr 2011 14:17:04 +1000 Subject: [PATCH] Updated for extended starting message from upstream --- logwatch-dovecot.patch | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/logwatch-dovecot.patch b/logwatch-dovecot.patch index 9375d7e..4895755 100644 --- a/logwatch-dovecot.patch +++ b/logwatch-dovecot.patch @@ -1,7 +1,15 @@ -diff -up logwatch-svn50/scripts/services/dovecot.sieve logwatch-svn50/scripts/services/dovecot ---- logwatch-svn50/scripts/services/dovecot.sieve 2011-03-31 11:19:26.339454435 +0200 -+++ logwatch-svn50/scripts/services/dovecot 2011-03-31 11:21:42.956300190 +0200 -@@ -147,15 +147,15 @@ while (defined($ThisLine = )) { +--- logwatch-svn50.dist/scripts/services/dovecot 2011-02-23 09:20:30.000000000 +1100 ++++ logwatch-svn50/scripts/services/dovecot 2011-04-26 14:07:53.000000000 +1000 +@@ -121,7 +121,7 @@ + # We don't care about these + } elsif ( $ThisLine =~ /Killed with signal /) { + $End++; +- } elsif ( $ThisLine =~ /Dovecot (v\d[^ ]* |)starting up$/) { ++ } elsif ( $ThisLine =~ /Dovecot (v\d[^ ]* |)starting up( \(.*\))?$/) { + $Restarts++; + $End = 0; + } elsif ( ($User, $Host) = ( $ThisLine =~ /^pop3-login: Login: (.*?) \[(.*)\]/ ) ) { +@@ -147,15 +147,15 @@ } # 'lda' for dovecot 2.0, 'deliver' for earlier versions