If the server is restarted, or even if fail2ban is stopped/start it sends a notification.
[asterisk-iptables]
enabled = true
filter = asterisk
action = iptables-allports[name=ASTERISK, protocol=all]
sendmail-whois[name=ASTERISK,
[email protected],
[email protected]]
logpath = /var/log/asterisk/messages
maxretry = 5
bantime = 259200
Removing the sendmail-whois stops it, but it also stops the ban
notifications, how can I get it to stop notifying me when the process starts/stops?
Thanks