From c81a8aec64e41898b49913ac1383744890679036 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 18 Nov 2025 09:18:09 -0500 Subject: [PATCH] postfix-logwatch: ignore "removed (canceled)" lines from cleanup Postfix 3.10.0 and later log the removal of the associated queue entry when a connection terminates abnormally: https://www.postfix.org/announcements/postfix-3.10.0.html We don't need to do anything with this information, so we add the pattern to the ignore list. --- postfix-logwatch | 3 +++ 1 file changed, 3 insertions(+) diff --git a/postfix-logwatch b/postfix-logwatch index d7a363b..283fe31 100755 --- a/postfix-logwatch +++ b/postfix-logwatch @@ -3935,6 +3935,9 @@ sub create_ignore_list() { push @ignore_list, qr/ old session$/; push @ignore_list, qr/fingerprint=/; push @ignore_list, qr/TLS cipher list "/; + + # Added in postfix-3.10.0 + push @ignore_list, qr/^removed \(canceled\)$/; } # Evaluates a given line against the list of ignore patterns. -- 2.51.0