Drop rsyslog localhost messages with IPv6 address

main
Shamil Nunhuck 2 years ago committed by GitHub
parent 23b09518db
commit 7225cb0d3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -30,6 +30,7 @@ module(load="imuxsock")
# Discard messages from local test requests # Discard messages from local test requests
:msg, contains, "connect from localhost[127.0.0.1]" ~ :msg, contains, "connect from localhost[127.0.0.1]" ~
:msg, contains, "connect from localhost[::1]" ~
{% if POSTFIX_LOG_FILE %} {% if POSTFIX_LOG_FILE %}
# Log mail logs to file # Log mail logs to file

Loading…
Cancel
Save