Here is more logs:
2023-10-26T14:02:09.253677+02:00 darke iredapd <!> Error while applying plugin 'wblist_rdns': ['Traceback (most recent call last):\n', ' File "/usr/local/lib/python3.11/dist-packages/sqlalchemy/engine/base.py", line 1412, in execute\n meth = statement._execute_on_connection\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', "AttributeError: 'str' object has no attribute '_execute_on_connection'\n", '\nThe above exception was the direct cause of the following exception:\n\n', 'Traceback (most recent call last):\n', ' File "/opt/iRedAPD-5.3.3/libs/utils.py", line 90, in apply_plugin\n', ' File "/opt/iredapd/plugins/wblist_rdns.py", line 85, in restriction\n', ' File "/usr/local/lib/python3.11/dist-packages/sqlalchemy/engine/base.py", line 1414, in execute\n raise exc.ObjectNotExecutableError(statement) from err\n', 'sqlalchemy.exc.ObjectNotExecutableError: Not an executable object: "SELECT rdns\\n FROM wblist_rdns\\n WHERE rdns IN (\'mail-wm1-x32a.google.com\', \'.mail-wm1-x32a.google.com\', \'.google.com\', \'.com\') AND wb=\'W\'\\n LIMIT 1"\n']
2023-10-26T14:02:09.315013+02:00 darke iredapd <!> Error while querying domain: ObjectNotExecutableError('Not an executable object: "SELECT domain\\n FROM domain\\n WHERE domain=\'gmail.com\' AND active=1 AND backupmx=0\\n LIMIT 1"')
2023-10-26T14:02:09.315094+02:00 darke iredapd <!> Error while querying alias domain: ObjectNotExecutableError('Not an executable object: "SELECT alias_domain.alias_domain\\n FROM alias_domain, domain\\n WHERE domain.active=1\\n AND domain.domain=alias_domain.target_domain\\n AND alias_domain.alias_domain=\'gmail.com\'\\n LIMIT 1"')
2023-10-26T14:02:09.315147+02:00 darke iredapd <!> Error while applying plugin 'greylisting': ['Traceback (most recent call last):\n', ' File "/usr/local/lib/python3.11/dist-packages/sqlalchemy/engine/base.py", line 1412, in execute\n meth = statement._execute_on_connection\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', "AttributeError: 'str' object has no attribute '_execute_on_connection'\n", '\nThe above exception was the direct cause of the following exception:\n\n', 'Traceback (most recent call last):\n', ' File "/opt/iRedAPD-5.3.3/libs/utils.py", line 90, in apply_plugin\n', ' File "/opt/iredapd/plugins/greylisting.py", line 350, in restriction\n', ' File "/opt/iRedAPD-5.3.3/libs/sql/__init__.py", line 87, in get_alias_target_domain\n', ' File "/usr/local/lib/python3.11/dist-packages/sqlalchemy/engine/base.py", line 1414, in execute\n raise exc.ObjectNotExecutableError(statement) from err\n', 'sqlalchemy.exc.ObjectNotExecutableError: Not an executable object: "SELECT alias_domain.target_domain\\n FROM alias_domain, domain\\n WHERE domain.active=1\\n AND domain.domain=alias_domain.target_domain\\n AND alias_domain.alias_domain=\'a.io\'\\n LIMIT 1"\n']
2023-10-26T14:02:09.315230+02:00 darke iredapd <!> Error while applying plugin 'sql_ml_access_policy': ['Traceback (most recent call last):\n', ' File "/usr/local/lib/python3.11/dist-packages/sqlalchemy/engine/base.py", line 1412, in execute\n meth = statement._execute_on_connection\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', "AttributeError: 'str' object has no attribute '_execute_on_connection'\n", '\nThe above exception was the direct cause of the following exception:\n\n', 'Traceback (most recent call last):\n', ' File "/opt/iRedAPD-5.3.3/libs/utils.py", line 90, in apply_plugin\n', ' File "/opt/iredapd/plugins/sql_ml_access_policy.py", line 36, in restriction\n', ' File "/opt/iRedAPD-5.3.3/libs/sql/__init__.py", line 118, in get_access_policy\n', ' File "/usr/local/lib/python3.11/dist-packages/sqlalchemy/engine/base.py", line 1414, in execute\n raise exc.ObjectNotExecutableError(statement) from err\n', 'sqlalchemy.exc.ObjectNotExecutableError: Not an executable object: "SELECT accesspolicy\\n FROM maillists\\n WHERE address=\'postmaster@a.io\'\\n LIMIT 1"\n']
2023-10-26T14:02:09.315291+02:00 darke iredapd <!> Error while applying plugin 'sql_alias_access_policy': ['Traceback (most recent call last):\n', ' File "/usr/local/lib/python3.11/dist-packages/sqlalchemy/engine/base.py", line 1412, in execute\n meth = statement._execute_on_connection\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', "AttributeError: 'str' object has no attribute '_execute_on_connection'\n", '\nThe above exception was the direct cause of the following exception:\n\n', 'Traceback (most recent call last):\n', ' File "/opt/iRedAPD-5.3.3/libs/utils.py", line 90, in apply_plugin\n', ' File "/opt/iredapd/plugins/sql_alias_access_policy.py", line 99, in restriction\n', ' File "/opt/iRedAPD-5.3.3/libs/sql/__init__.py", line 118, in get_access_policy\n', ' File "/usr/local/lib/python3.11/dist-packages/sqlalchemy/engine/base.py", line 1414, in execute\n raise exc.ObjectNotExecutableError(statement) from err\n', 'sqlalchemy.exc.ObjectNotExecutableError: Not an executable object: "SELECT accesspolicy\\n FROM alias\\n WHERE address=\'postmaster@a.io\'\\n LIMIT 1"\n']
2023-10-26T14:02:09.315355+02:00 darke iredapd <!> Error while applying plugin 'amavisd_wblist': ['Traceback (most recent call last):\n', ' File "/usr/local/lib/python3.11/dist-packages/sqlalchemy/engine/base.py", line 1412, in execute\n meth = statement._execute_on_connection\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', "AttributeError: 'str' object has no attribute '_execute_on_connection'\n", '\nThe above exception was the direct cause of the following exception:\n\n', 'Traceback (most recent call last):\n', ' File "/opt/iRedAPD-5.3.3/libs/utils.py", line 90, in apply_plugin\n', ' File "/opt/iredapd/plugins/amavisd_wblist.py", line 310, in restriction\n', ' File "/opt/iRedAPD-5.3.3/libs/sql/__init__.py", line 87, in get_alias_target_domain\n', ' File "/usr/local/lib/python3.11/dist-packages/sqlalchemy/engine/base.py", line 1414, in execute\n raise exc.ObjectNotExecutableError(statement) from err\n', 'sqlalchemy.exc.ObjectNotExecutableError: Not an executable object: "SELECT alias_domain.target_domain\\n FROM alias_domain, domain\\n WHERE domain.active=1\\n AND domain.domain=alias_domain.target_domain\\n AND alias_domain.alias_domain=\'gmail.com\'\\n LIMIT 1"\n']
2023-10-26T14:02:09.315414+02:00 darke iredapd [2a00:1450:4864:20::32a] RCPT, postmaster@gmail.com -> postmaster@a.io, DUNNO [sasl_username=, sender=postmaster@gmail.com, client_name=mail-wm1-x32a.google.com, reverse_client_name=mail-wm1-x32a.google.com, helo=some.domain.tld, encryption_protocol=, encryption_cipher=, server_port=, process_time=0.0246s]