• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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