# HG changeset patch # User IBBoard # Date 1544817489 0 # Node ID ab82c65dcb2814ec4c373cbec3fe8a5feb1cd7dc # Parent ac164022ffb8ff2d34cbd57d6347561f93aab13e Handle Dovecot "logged out" messages in LogWatch diff -r ac164022ffb8 -r ab82c65dcb28 common/logwatch/dovecot --- a/common/logwatch/dovecot Fri Dec 07 19:54:20 2018 +0000 +++ b/common/logwatch/dovecot Fri Dec 14 19:58:09 2018 +0000 @@ -258,6 +258,8 @@ $Disconnected{$Reason}++; } elsif (($Reason) = ($ThisLine =~ /Disconnected: (.*) (bytes|top|in)=.*/) ) { $Disconnected{$Reason}++; + } elsif ($ThisLine =~ /Logged out (rcvd|bytes|top|in)=.*/) { + $Disconnected{"Logged out"}++; } elsif (($Reason) = ($ThisLine =~ /Disconnected \((.*)\):/) ) { $Disconnected{$Reason}++; } elsif (($Reason, $Host) = ($ThisLine =~ /TLS initialization failed/) ) {