• 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

Issue fail2ban failed to start: ERROR Failed during configuration: Have not found any log file for plesk-smtp jail

Dave W

Regular Pleskian
Server operating system version
AlmaLinux 8.6 x86_64
Plesk version and microupdate number
Plesk Obsidian 18.0.45.2
Product version: Plesk Obsidian 18.0.45.2
OS version: AlmaLinux 8.6 x86_64
Build date: 2022/07/22 09:00
Revision: eb4e2a3b37f5171bb9212b7a720f51b9edddefaf


systemctl start fail2ban results in
Code:
ERROR   Failed during configuration: Have not found any log file for plesk-smtp jail

checked the config of plesk-smtp jail;
Code:
[plesk-smtp]
enabled = true
filter = plesk-postfix
action = mh-iptables-allports[name=plesk-smtp]
logpath = /usr/local/psa/var/log/maillog
maxretry = 15

Fix:
Code:
ln -s /usr/local/psa/var/log/maillog  /var/log/maillog
 
Hello Dave,
as far as I can see plesk doesn't configure `plesk-smtp` jail so the jail you've described is a custom one, isn't it?
If it's so please specify right logpath when creating of a jail.
 
Back
Top