• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Fail2Ban sending emails

H.W.B

Regular Pleskian
Hello,

I have a question. On my new server i got CentOS 7 With Plesk 12.5 installed from my hosting compagny.
That works fine.
But on my older server i had manually installed Fail2ban and configured it, that it send out emails when a users was added to the Ban list.
How can i do this in my new server??
I can not see it in the Plesk Menu's

Can somebody give me a hint in how to set it up without disturbing the normal operations.

Thank you

Henk
 
Do you have specified destemail option in /etc/fail2ban/jail.local file?
 
I figured it out.
Have to put sendmail in the action command, and then it sends out emails.
 
Back
Top