[Postfix] Do not log tls sni maps errors from connections initiated by mailcow checks

master
andryyy 2020-04-13 20:33:44 +02:00
parent 44f3b0798d
commit 6f9c658aa8
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
2 changed files with 4 additions and 0 deletions

View File

@ -38,10 +38,12 @@ filter f_mail { facility(mail); };
filter f_overrides { not match("overriding earlier entry" value("MESSAGE")); };
# end
filter f_skip_local { not facility (local0, local1, local2, local3, local4, local5, local6, local7); };
filter f_checks { not match("TLS SNI from checks.mailcow.email" value("MESSAGE")); };
log {
source(s_src);
filter(f_skip_local);
filter(f_overrides);
filter(f_checks);
destination(d_stdout);
filter(f_mail);
destination(d_redis_ui_log);

View File

@ -38,10 +38,12 @@ filter f_mail { facility(mail); };
filter f_overrides { not match("overriding earlier entry" value("MESSAGE")); };
# end
filter f_skip_local { not facility (local0, local1, local2, local3, local4, local5, local6, local7); };
filter f_checks { not match("TLS SNI from checks.mailcow.email" value("MESSAGE")); };
log {
source(s_src);
filter(f_skip_local);
filter(f_overrides);
filter(f_checks);
destination(d_stdout);
filter(f_mail);
destination(d_redis_ui_log);