logwatch/logwatch-dovecot2.patch
2011-01-13 17:17:36 +01:00

15 lines
1.0 KiB
Diff

diff -up logwatch-20110113/scripts/services/dovecot.dovecot-child logwatch-20110113/scripts/services/dovecot
--- logwatch-20110113/scripts/services/dovecot.dovecot-child 2011-01-13 16:55:48.432483241 +0100
+++ logwatch-20110113/scripts/services/dovecot 2011-01-13 16:56:43.056625241 +0100
@@ -206,8 +206,9 @@ while (defined($ThisLine = <STDIN>)) {
$Disconnected{$2}++;
} elsif ($ThisLine =~ /POP3.+: Connection closed top=.* retr=.* del=.* size=.*/i) {
$ConnectionCl{"no reason"}++;
- } elsif (($Error) = ($ThisLine =~ /child \d* \(login\) returned error (.*)/)) {
+ } elsif (($Error) = ($ThisLine =~ /child \d* (?:\(login\) )?returned error (.*)/)) {
# dovecot: child 23747 (login) returned error 89
+ # dovecot: log: Error: service(auth): child 19654 returned error 89 (Fatal failure)
$ChildErr{$Error}++;
} elsif (($Name) = ($ThisLine =~ /dovecot: IMAP\((.*)\): .*(.*) failed: Disk quota exceeded/i)) {
# dovecot: IMAP(podracka): mkdir(/home/LF/KLINIKY/podracka/mail/.imap/saved-messages) failed: Disk quota exceeded