• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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