- Jan 31, 2016
- 41
- 0
- 66
Hello!
I've just installed Fail2ban on Ubuntu 14.04. I don't need fail2ban to send me e-mail alerts, but I did notice in jail.local file (which in my case is a copy of jail.conf file) certain parameters that I don't really understand. In ACTION ==> email action section there's:
I don't even have Sendmail SMTP server, I've got Postfix, actually. Should I do anything with that setting, leave it alone (it's the default) or even delete it?
On the same note, there's also another setting, concerning e-mail, which is:
I understand that I can change it to my real e-mail address, so fail2ban would e-mail me. Though I don't really need it. What would be the best thing to do in regard to this whole fail2ban e-mail policies?
I've just installed Fail2ban on Ubuntu 14.04. I don't need fail2ban to send me e-mail alerts, but I did notice in jail.local file (which in my case is a copy of jail.conf file) certain parameters that I don't really understand. In ACTION ==> email action section there's:
Code:
mta = sendmail
I don't even have Sendmail SMTP server, I've got Postfix, actually. Should I do anything with that setting, leave it alone (it's the default) or even delete it?
On the same note, there's also another setting, concerning e-mail, which is:
Code:
destemail = root@localhost
I understand that I can change it to my real e-mail address, so fail2ban would e-mail me. Though I don't really need it. What would be the best thing to do in regard to this whole fail2ban e-mail policies?