And here's the final code if anyone wants to do the same: ~ispconfig/interface/lib/plugins/login_fail2ban_plugin.inc.php class...
Oh, FFS, got my error. In server, it's $app->plugins->registerEvent In interface, it's $app->plugin->registerEvent And in case someone else...
Umh, sorry, but see ~ispconfig/interface/lib/plugins/mail_user_filter_plugin.inc.php (that IS the folder you're pointing to?) <?php [...]...
Oh, so I plugged into the wrong backend xD My attempt in itself (if it had been in the right place) should have been correct as login/index.php...
Heyo, I wanted to log wrong logins into syslog so that fail2ban can parse it and ban the attacker's IP. - Yes, I know, ISPConfig has a similar...
Separate names with a comma.