• 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

Resolved Fail2Ban - sendmail - no email arrives

tajt02

Basic Pleskian
Hi,

I'm using fail2ban with Plesk since it was implemented. I always received emails when f2b banned an IP.
Now I have set up a new (v)server.

Setting the "sendmail" action to the jail, it adds this:
sendmail[mailcmd="/usr/sbin/sendmail -f "<sender>" "<dest>"", dest="root", sender="fail2ban", sendername="Fail2Ban", name="default"]

I've replaced dest and sender with something like [email protected], but no email arrives. But the IP is banned.

I think the command looked like this on the previous server:
sendmail[dest=[email][email protected][/email], sender=[email protected], sendername=Fail2Ban, name=blabla]
I tried this too, but no email arrives.

How can I check what's the problem here?
I tried yum install sendmail - result: Error: plesk-mail-pc-driver conflicts with sendmail-8.14.7-6.el7.x86_64

Thanks!
 
Back
Top