Patch for Dovecot
Brian Masney <[email protected]>
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <20130501004735.GA4538@brian> |
Hi, I am using Logwatch 7.4.0+svn20111221rev79-1ubuntu1 that came with Ubuntu Precise. I setup Dovecot and I get lots of messages like these from Logwatch. > **Unmatched Entries** > domU-XX-XX-XX-XX-XX-XX dovecot: lda(masneyb): msgid=XXX: > saved mail to INBOX: 5 Time(s) > domU-XX-XX-XX-XX-XX-XX dovecot: pop3-login: Login: user=<masneyb>, > method=PLAIN, rip=XXX.XXX.XXX.XXX, lip=XXX.XXX.XXX.XXX, mpid=1028, > TLS: 1 Time(s) I attached a patch that fixes the issue for me. Thanks for the great product! Brian ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ Logwatch-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/logwatch-devel
logwatch-dovecot.patch
(text/plain, 586 B)
--- dovecot.orig 2013-05-01 00:30:05.286665243 +0000
+++ dovecot 2013-05-01 00:35:43.458669488 +0000
@@ -107,7 +107,7 @@
while (defined($ThisLine = <STDIN>)) {
# remove timestamp. We can't use *RemoveHeaders because we need the
# service name
- $ThisLine =~ s/^\w{3} .\d \d\d:\d\d:\d\d //;
+ $ThisLine =~ s/^\w{3} .\d \d\d:\d\d:\d\d\s*[\w\d_-]*\s*//;
if ( ($ThisLine =~ /(?:ssl-build-param|ssl-params): SSL parameters regeneration completed/) or
($ThisLine =~ /ssl-params: Generating SSL parameters/) or
($ThisLine =~ /auth-worker/) or