recreate
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Debug
|
||||
if $syslogfacility-text == 'PH_IREDMAIL_SYSLOG_FACILITY' and ($msg contains ": Debug:") then -PH_DOVECOT_LOG_FILE
|
||||
& stop
|
||||
|
||||
# sieve and LMTP
|
||||
if $syslogfacility-text == 'PH_IREDMAIL_SYSLOG_FACILITY' and ($msg contains "lmtp(" or $msg contains "lda(") then -PH_DOVECOT_SYSLOG_FILE_LDA
|
||||
& stop
|
||||
|
||||
# IMAP
|
||||
if $syslogfacility-text == 'PH_IREDMAIL_SYSLOG_FACILITY' and ($msg contains "imap(" or $msg contains "imap-login:") then -PH_DOVECOT_SYSLOG_FILE_IMAP
|
||||
& stop
|
||||
|
||||
# POP3
|
||||
if $syslogfacility-text == 'PH_IREDMAIL_SYSLOG_FACILITY' and ($msg contains "pop3(" or $msg contains "pop3-login:") then -PH_DOVECOT_SYSLOG_FILE_POP3
|
||||
& stop
|
||||
|
||||
# managesieve
|
||||
if $syslogfacility-text == 'PH_IREDMAIL_SYSLOG_FACILITY' and ($msg contains "managesieve(" or $msg contains "managesieve-login:") then -PH_DOVECOT_SYSLOG_FILE_SIEVE
|
||||
& stop
|
||||
|
||||
# All other Dovecot log
|
||||
if $syslogfacility-text == 'PH_IREDMAIL_SYSLOG_FACILITY' and $programname startswith "dovecot" then -PH_DOVECOT_LOG_FILE
|
||||
& stop
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
if $programname startswith 'fail2ban' or ($programname == 'journal' and $msg startswith 'fail2ban') then -PH_FAIL2BAN_LOG_FILE
|
||||
& stop
|
||||
@@ -0,0 +1,12 @@
|
||||
# Log to /var/log/iredapd/iredapd.log
|
||||
#
|
||||
# Notes:
|
||||
#
|
||||
# - $syslogfacility-text must be same as value of parameter SYSLOG_FACILITY
|
||||
# in iredapd config file. Defaults to 'local5' (defined in
|
||||
# libs/default_settings.py).
|
||||
#
|
||||
# - Directory /var/log/iredapd/ must be owned by syslog daemon user/group.
|
||||
#
|
||||
if $syslogfacility-text == 'PH_IREDMAIL_SYSLOG_FACILITY' and ($syslogtag startswith 'iredapd' or $msg startswith 'iredapd') then -PH_IREDAPD_LOG_FILE
|
||||
& stop
|
||||
@@ -0,0 +1,12 @@
|
||||
# Log to /var/log/mlmmjadmin/mlmmjadmin.log
|
||||
#
|
||||
# Notes:
|
||||
#
|
||||
# - $syslogfacility-text must be same as value of parameter SYSLOG_FACILITY
|
||||
# in mlmmjadmin config file. Defaults to 'local5' (defined in
|
||||
# libs/default_settings.py).
|
||||
#
|
||||
# - Directory /var/log/mlmmjadmin/ must be owned by syslog daemon user/group.
|
||||
#
|
||||
if $syslogfacility-text == 'PH_IREDMAIL_SYSLOG_FACILITY' and $programname startswith 'mlmmjadmin' then -PH_MLMMJADMIN_LOG_FILE
|
||||
& stop
|
||||
@@ -0,0 +1,2 @@
|
||||
if $syslogfacility-text == 'PH_OPENLDAP_SYSLOG_FACILITY' and $programname == 'slapd' then -PH_OPENLDAP_LOG_FILE
|
||||
& stop
|
||||
@@ -0,0 +1,3 @@
|
||||
# php-fpm
|
||||
if $syslogfacility-text == 'PH_IREDMAIL_SYSLOG_FACILITY' and $syslogtag startswith 'php-fpm' then -PH_PHP_FPM_LOG_MAIN
|
||||
& stop
|
||||
Reference in New Issue
Block a user