]> git.ekhem.eu.org Git - server.git/commitdiff
[fail2ban] Enable jails for nginx, dovecot and postfix.
authorJakub Czajka <jakub@ekhem.eu.org>
Sun, 7 Jan 2024 10:18:30 +0000 (11:18 +0100)
committerJakub Czajka <jakub@ekhem.eu.org>
Sun, 7 Jan 2024 10:18:30 +0000 (11:18 +0100)
fail2ban/jail.local

index d5552ff2931ae0b90996de291476200d21af38fd..16e55054a2cc2e4141b67859a96650f19056baf6 100644 (file)
@@ -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]