From 7225cb0d3e7d2c49e60656564663c32f6e40e49b Mon Sep 17 00:00:00 2001 From: Shamil Nunhuck Date: Wed, 21 Dec 2022 00:57:29 +0000 Subject: [PATCH] Drop rsyslog localhost messages with IPv6 address --- core/postfix/conf/rsyslog.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/core/postfix/conf/rsyslog.conf b/core/postfix/conf/rsyslog.conf index 7d55b7ba..6423eb4d 100644 --- a/core/postfix/conf/rsyslog.conf +++ b/core/postfix/conf/rsyslog.conf @@ -30,6 +30,7 @@ module(load="imuxsock") # Discard messages from local test requests :msg, contains, "connect from localhost[127.0.0.1]" ~ +:msg, contains, "connect from localhost[::1]" ~ {% if POSTFIX_LOG_FILE %} # Log mail logs to file