From d2fab050ba02a0d9234663fa6434c364e6049f4c Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 13 Nov 2020 20:56:48 +0100 Subject: log-forward: do not forward own e-mail logs Revert the last change, instead just ignore messages that were generated by log-forward, with "Log Forwarding" in subject. --- global-config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/global-config b/global-config index d0a34fa..09eda44 100644 --- a/global-config +++ b/global-config @@ -51,9 +51,9 @@ :global BackupUploadPass "v3ry-s3cr3t"; # This defines a filter on log topics not to be forwarded. -:global LogForwardFilter "(debug|info|e-mail|script)"; +:global LogForwardFilter "(debug|info|script)"; # ... and the same for log message text. -:global LogForwardFilterMessage "^\$"; +:global LogForwardFilterMessage "^\$|^Error sending e-mail <.* Log Forwarding>:"; #:global LogForwardFilterMessage "(^\$|message text|...)"; # Specify an address to enable auto update to version assumed safe. -- cgit v1.2.3-70-g09d2