Topic: Fail2ban errors
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.2
- Deployed with iRedMail Easy or the downloadable installer? downloadable
- Linux/BSD distribution name and version: Ubuntu 20.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I've got a fresh install and seeing the following errors in fail2ban logs:
Dec 22 09:08:39 mail fail2ban.actions [715]: NOTICE [postfix-pregreet] Ban 178.73.215.171
Dec 22 09:08:39 mail fail2ban.utils [715]: ERROR 7f881926f7c0 -- exec: ['f2bV_ipjailmatches=$0 \n/usr/local/bin/fail2ban_banned_db ban 178.73.215.171 80,443,25,587,465,110,995,143,993,4190 tcp postfix-pregreet 1 $f2bV_ipjailmatches', 'Dec 22 09:08:39 mail postfix/postscreen[26777]: PREGREET 27 after 0 from [178.73.215.171]:17719: \\377\\375\\003\\377\\373\\030\\377\\373\\037\\377\\373 \\377\\373!\\377\\373"\\377\\373\'\\377\\375\\005\\377\\373#']
Dec 22 09:08:39 mail fail2ban.utils [715]: ERROR 7f881926f7c0 -- stderr: "ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '??\x05??' at line 8"
Dec 22 09:08:39 mail fail2ban.utils [715]: ERROR 7f881926f7c0 -- returned 1
Dec 22 09:08:39 mail fail2ban.actions [715]: ERROR Failed to execute ban jail 'postfix-pregreet' action 'banned_db' info 'ActionInfo({'ip': '178.73.215.171', 'family': 'inet4', 'fid': <function Actions.ActionInfo.<lambda> at 0x7f881a7498b0>, 'ipjailmatches': 'Dec 22 09:08:39 mail postfix/postscreen[26777]: PREGREET 27 after 0 from [178.73.215.171]:17719: \\377\\375\\003\\377\\373\\030\\377\\373\\037\\377\\373 \\377\\373!\\377\\373"\\377\\373\'\\377\\375\\005\\377\\373#', 'ipjailfailures': 1, 'raw-ticket': <function Actions.ActionInfo.<lambda> at 0x7f881a749f70>})': Error banning 178.73.215.171
Dec 22 10:08:40 mail fail2ban.actions [715]: NOTICE [postfix-pregreet] Unban 178.73.215.171
Is this somethins I should be worrying about?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.