patch to dovecot script for "Logged out rcvd"
Emmerich Emmo Reize <[email protected]> Wed, 21 Nov 2018 19:26:33 +0100
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello,
to prevent these lines:
dovecot: service=imap, user=..., ip=[...]. Logged out rcvd=...,
sent=...: X Time(s)
(... being potential sensitive, X usually 1 but also seen higher)
from coming up as unmatched this patch
@@ -282 +282 @@
- } elsif ($ThisLine =~ /Logged out (bytes|top|in)=.*/) {
+ } elsif ($ThisLine =~ /Logged out (bytes|top|in|rcvd)=.*/) {
could be applied to
/usr/share/logwatch/scripts/services/dovecot
I have adjusted the script to this for about a week now on several
systems and it works fine.
cheers
emmo