I'm following this tutorial: Using Fail2ban To Block Wrong ISPConfig Logins, but rsyslog won't redirect the output from a file to another:
if $programname == 'ispconfig' then /var/log/ispconfig.log #the file exists
Despite this line, I keep getting the output to
ispconfig: Login failed for user asdasd on IP XX.XX.XXX.XX
-rw-r--r-- 1 syslog adm 0 Sep 12 16:13 ispconfig.log
Any ideas how to fix this?