Fail2ban - duplicate emails?

fail2ban
v7

(Dan) #1

NethServer Version: 7.5
Module: fail2ban

I’ve been noticing for a while that for every ban action in fail2ban, I’m getting two emails. Doesn’t seem like this should be the case. Thoughts as to why this might be happening, and/or how to stop it?

[root@neth ~]# rpm -qa | grep fail2ban
fail2ban-firewalld-0.9.7-1.el7.noarch
fail2ban-server-0.9.7-1.el7.noarch
fail2ban-shorewall-0.9.7-1.el7.noarch
nethserver-fail2ban-1.1.0-1.ns7.noarch
fail2ban-0.9.7-1.el7.noarch
fail2ban-sendmail-0.9.7-1.el7.noarch
[root@neth ~]# 

(Eddie Atherton) #2

Maybe one of these might provide a clue:

fail2ban now sends mail to root

fail2ban remembers old mail addresses

Cheers.


(Dan) #3

Yes, I think that explains it. I’ve taken out the email address I had filled in and will watch to make sure it’s fixed.