• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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