From: Jakub Czajka Date: Sun, 7 Jan 2024 10:18:30 +0000 (+0100) Subject: [fail2ban] Enable jails for nginx, dovecot and postfix. X-Git-Url: https://git.ekhem.eu.org/?a=commitdiff_plain;h=cfd423ef84533ec5c082b90739d85ff1d6c2f57a;p=server.git [fail2ban] Enable jails for nginx, dovecot and postfix. --- 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]