Tweak postfix logging

main
Florent Daigniere 2 years ago
parent 163261d951
commit 7a2d06401a

@ -23,6 +23,7 @@ alias_maps =
podop = socketmap:unix:/tmp/podop.socket: podop = socketmap:unix:/tmp/podop.socket:
postscreen_upstream_proxy_protocol = haproxy postscreen_upstream_proxy_protocol = haproxy
compatibility_level=3.6
# Only accept virtual emails # Only accept virtual emails
mydestination = mydestination =

@ -31,6 +31,8 @@ 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]" ~ :msg, contains, "connect from localhost[::1]" ~
:msg, contains, "haproxy read: short protocol header: QUIT" ~
:msg, contains, "discarding EHLO keywords: PIPELINING" ~
{% if POSTFIX_LOG_FILE %} {% if POSTFIX_LOG_FILE %}
# Log mail logs to file # Log mail logs to file

Loading…
Cancel
Save