From dab3d9fe71091e6f8cc4c20ae49116de76056935 Mon Sep 17 00:00:00 2001 From: mmehnert Date: Sun, 12 May 2024 09:59:22 +0200 Subject: [PATCH] chore(logwatch): Add `ignore.conf` to ignore logs from Dovecot `index-worker` (#4012) --- CHANGELOG.md | 2 ++ Dockerfile | 1 + target/logwatch/ignore.conf | 2 ++ 3 files changed, 5 insertions(+) create mode 100644 target/logwatch/ignore.conf diff --git a/CHANGELOG.md b/CHANGELOG.md index d651b0b5..0ead51f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -93,6 +93,8 @@ The most noteworthy change of this release is the update of the container's base - The `rewrite_subject` action, is now disabled by default. It has been replaced with the new `SPAM_SUBJECT` environment variable, which implements the functionality via a Sieve script instead which is anti-spam service agnostic ([#3820](https://github.com/docker-mailserver/docker-mailserver/pull/3820)) - `RSPAMD_NEURAL` was added and is disabled by default. If switched on it will enable the experimental Rspamd "Neural network" module to add a layer of analysis to spam detection ([#3833](https://github.com/docker-mailserver/docker-mailserver/pull/3833)) - The symbol weights of SPF, DKIM and DMARC have been adjusted again. Fixes a bug and includes more appropriate combinations of symbols ([#3913](https://github.com/docker-mailserver/docker-mailserver/pull/3913), [#3923](https://github.com/docker-mailserver/docker-mailserver/pull/3923)) +- **Dovecot:** + - `logwatch` now filters out non-error logs related to the status of the `index-worker` process for FTS indexing. ([#4012](https://github.com/docker-mailserver/docker-mailserver/pull/4012)) ### Fixes diff --git a/Dockerfile b/Dockerfile index 8b2a502c..bf688ec1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -273,6 +273,7 @@ EOF # ----------------------------------------------- COPY target/logwatch/maillog.conf /etc/logwatch/conf/logfiles/maillog.conf +COPY target/logwatch/ignore.conf /etc/logwatch/conf/ignore.conf # ----------------------------------------------- # --- Supervisord & Start ----------------------- diff --git a/target/logwatch/ignore.conf b/target/logwatch/ignore.conf new file mode 100644 index 00000000..5b7e9312 --- /dev/null +++ b/target/logwatch/ignore.conf @@ -0,0 +1,2 @@ +# ignore output from dovecot-fts-xapian about successfully indexed messages +dovecot: indexer-worker\([^\)]+\).*Indexed