From cfd423ef84533ec5c082b90739d85ff1d6c2f57a Mon Sep 17 00:00:00 2001 From: Jakub Czajka Date: Sun, 7 Jan 2024 11:18:30 +0100 Subject: [PATCH] [fail2ban] Enable jails for nginx, dovecot and postfix. --- fail2ban/jail.local | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fail2ban/jail.local b/fail2ban/jail.local index d5552ff..16e5505 100644 --- a/fail2ban/jail.local +++ b/fail2ban/jail.local @@ -382,7 +382,7 @@ logpath = /opt/openhab/logs/request.log [nginx-http-auth] - +enabled = true port = http,https logpath = %(nginx_error_log)s @@ -628,10 +628,10 @@ logpath = /service/qmail/log/main/current # dovecot defaults to logging to the mail syslog facility # but can be set by syslog_facility in the dovecot configuration. [dovecot] - +enabled = true port = pop3,pop3s,imap,imaps,submission,465,sieve logpath = %(dovecot_log)s -backend = %(dovecot_backend)s +backend = systemd [sieve] @@ -679,14 +679,14 @@ backend = %(syslog_backend)s [postfix-sasl] - +enabled = true filter = postfix[mode=auth] port = smtp,465,submission,imap,imaps,pop3,pop3s # You might consider monitoring /var/log/mail.warn instead if you are # running postfix since it would provide the same log lines at the # "warn" level but overall at the smaller filesize. logpath = %(postfix_log)s -backend = %(postfix_backend)s +backend = systemd [perdition] -- 2.39.5