PeopleInside
Regular Pleskian
- Server operating system version
- Ubuntu 22.04.1 LTS
- Plesk version and microupdate number
- 18.0.48
Hi,
I need configure fail2ban for snappymail
Official snappymail on how to proceed for configure fail2ban are listed here:
but on Plesk those rules can be and maybe should be done by using the Plesk fail2ban UI interface.
I try to do the setup using this steps:
but I'm unable to proceed.
Error: f2bmng failed: 2023-01-09 14:05:01,232 fail2ban [3179708]: ERROR Failed during configuration: Have not found any log file for snappymail-fpm-journ jail
ERROR:__main__:Command '['/usr/bin/fail2ban-client', 'reload', '--if-exists', 'snappymail-fpm-journ']' returned non-zero exit status 255.
ERROR:__main__:Failed to reload following jails due to errors in configuration: snappymail-fpm-journ
I need configure fail2ban for snappymail
Official snappymail on how to proceed for configure fail2ban are listed here:
snappymail/fail2ban at master · the-djmaze/snappymail
Simple, modern & fast web-based email client. Contribute to the-djmaze/snappymail development by creating an account on GitHub.
github.com
but on Plesk those rules can be and maybe should be done by using the Plesk fail2ban UI interface.
I try to do the setup using this steps:
Issue to setup Fail2Ban on Plesk · Issue #489 · the-djmaze/snappymail
Describe the bug Here user can find the guide to configure snappymail Fail2Ban: https://github.com/the-djmaze/snappymail/tree/master/fail2ban Im running Ubuntu 22.04.1 LTS with Plesk Obsidian Versi...
github.com
but I'm unable to proceed.
- I am able to create the Jail filter snappymail-fpm-journal
Code:
[INCLUDES]
before = common.conf
[Definition]
failregex = Auth failed: ip=<HOST> user=.*$
ignoreregex =
_daemon = php-fpm
journalmatch = _SYSTEMD_UNIT=php-fpm.service SYSLOG_FACILITY=10
- I am able to create the Jail filter snappymail-log
Code:
[Definition]
failregex = Auth failed: ip=<HOST> user=.* host=.* port=.*$
ignoreregex =
- I am unable to create the Jail with name snappymail-fpm-journ
Error: f2bmng failed: 2023-01-09 14:05:01,232 fail2ban [3179708]: ERROR Failed during configuration: Have not found any log file for snappymail-fpm-journ jail
ERROR:__main__:Command '['/usr/bin/fail2ban-client', 'reload', '--if-exists', 'snappymail-fpm-journ']' returned non-zero exit status 255.
ERROR:__main__:Failed to reload following jails due to errors in configuration: snappymail-fpm-journ