Package: logwatch
Version: 7.4.3+git20161207-2
Followup-For: Bug #906045
Oops, the patch was reversed. This is the correct patch that works for me:
--- /usr/share/logwatch/scripts/services/dovecot 2017-01-21
16:44:03.000000000 +0000
+++ dovecot 2018-08-13 15:35:42.869962064 +0100
@@ -221,7 +221,7 @@
$Deliver{$User}{$Mailbox}++;
# For Sieve-based delivery
- } elsif (my ($User, $Mailbox) = ( $ThisLine =~ /^$dovecottag
(?:lda|deliver)\((.*)\): sieve: msgid=.*: stored mail into mailbox '(.*)'/ ) ) {
+ } elsif (my ($User, $Mailbox) = ( $ThisLine =~ /^$dovecottag
(?:lda|deliver)\((.*)\).*: sieve: msgid=.*: stored mail into mailbox '(.*)'/ )
) {
$Deliver{$User}{$Mailbox}++;
# LMTP-based delivery