[Postfix] Merge syslog filters
[Postfix] Create sasl_access map; Use JSON_VALUE and remove unnecessary like command
This commit is contained in:
@@ -35,15 +35,17 @@ 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")); };
|
||||
# Some other warnings are ignored
|
||||
filter f_ignore {
|
||||
not match("overriding earlier entry" value("MESSAGE"));
|
||||
not match("TLS SNI from checks.mailcow.email" value("MESSAGE"));
|
||||
not match("no SASL support" value("MESSAGE"));
|
||||
not facility (local0, local1, local2, local3, local4, local5, local6, local7);
|
||||
};
|
||||
# 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);
|
||||
filter(f_ignore);
|
||||
destination(d_stdout);
|
||||
filter(f_mail);
|
||||
destination(d_redis_ui_log);
|
||||
|
Reference in New Issue
Block a user