[Postfix] TLS protocols for submission and smtps can be overriden using extra.cf (submission_smtpd_tls_mandatory_protocols and smtps_smtpd_tls_mandatory_protocols), thanks to @christianbur

[Postfix] Show overriding warnings when starting Postfix, but hide them in syslog output
This commit is contained in:
andryyy
2019-11-24 14:18:27 +01:00
parent dff81eda19
commit 4a36eb014c
4 changed files with 16 additions and 4 deletions

View File

@@ -32,10 +32,16 @@ destination d_redis_f2b_channel {
);
};
filter f_mail { facility(mail); };
# start
# overriding warnings are still displayed when the entrypoint runs its initial check
# warnings logged by postfix-mailcow to syslog are hidden to reduce repeating msgs
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); };
log {
source(s_src);
filter(f_skip_local);
filter(f_overrides);
destination(d_stdout);
filter(f_mail);
destination(d_redis_ui_log);