Yes I have enough memory I believe. The server has 8GB real memory. The " dmesg | grep -i oom" returns nothing fyi.
This is the error I get now (there was an update to Roundcube today): ### Failed to restart server : 2022-02-23 10:49:37,176 fail2ban : ERROR Failed during configuration: Have not found any log file for roundcube-auth jail
So it seems f2b cant find the roundcube-auth log file? I have searched high and low, the only related log file I can find is: /home/myuser/public_html/roundcube/logs/errors.log
It adds an entry everytime I purposly fail a login attempt:
[23-Feb-2022 11:04:05 -0500]: <vhofvb93> IMAP Error: Login failed for jibberishname against localhost from xxx.xxx.xxx.xx. AUTHENTICATE PLAIN: Authentication failed. in /home/myuser/public_html/roundcube/program/lib/Roundcube/rcube_imap.php on line 211 (POST /roundcube/?_task=login&_action=login)
I have found in the roundcube default config an option to change the log location:
// use this folder to store log files
// must be writeable for the user who runs PHP process (Apache user if mod_php is being used)
// This is used by the 'file' log driver.
$config['log_dir'] = RCUBE_INSTALL_PATH . 'logs/';
There are also options to change the logging type, etc…
// log driver: 'syslog', 'stdout' or 'file'.
$config['log_driver'] = 'file';
// date format for log entries
// (read http://php.net/manual/en/function.date.php for all format characters)
$config['log_date_format'] = 'd-M-Y H:i:s O';
// length of the session ID to prepend each log line with
// set to 0 to avoid session IDs being logged.
$config['log_session_id'] = 8;
// Default extension used for log file name
$config['log_file_ext'] = '.log';
// Syslog ident string to use, if using the 'syslog' log driver.
$config['syslog_id'] = 'roundcube';
// Syslog facility to use, if using the 'syslog' log driver.
// For possible values see installer or http://php.net/manual/en/function.openlog.php
$config['syslog_facility'] = LOG_USER;
// Activate this option if logs should be written to per-user directories.
// Data will only be logged if a directory <log_dir>/<username>/ exists and is writable.
$config['per_user_logging'] = false;
// Log sent messages to <log_dir>/sendmail.log or to syslog
$config['smtp_log'] = true;
// Log successful/failed logins to <log_dir>/userlogins.log or to syslog
$config['log_logins'] = false;
Or maybe simply telling f2b where to find the log is needed?