Optionen für Fail2ban auf Centos 7

Start/Stop E-Mail Benachrichtigung deaktivieren

Um die Start/Stop Benachrichtigungen zu deaktivieren, muss die actionstart- und die actionstop-Anweisung überschrieben werden. Für Sendmail erstellen wir folgende Datei:

vi /etc/fail2ban/action.d/sendmail-common.local

und fügen nachstehende Zeilen ein:

# Override the Fail2Ban defaults in sendmail-common.conf with these entries

[Definition]
# Disable email notifications of jails stopping or starting
actionstart =
actionstop =

Einstellungen übernehmen

systemctl restart fail2ban

Quelle

Stop fail2ban stop/start notifications

https://serverfault.com/questions/257439/stop-fail2ban-stop-start-notifications

Kommentare

Bitte addieren Sie 8 und 2.