Rspamd: SQL error after server settings update
Summary
SQL Error when Rspamd plugin handles server table updates.
Steps to reproduce
- Have an ISPConfig with Mail&RSpamd configured
- Go to the server settings (System -> Server Config -> server name)
- Change anything and save
- Wait for the datalog to be processed
- You will get an email with
ispconfig.server - 19.12.2022-20:58 - WARNING - Falsche Anfrage / Wrong QuerySQL-Query = SELECT `ip_address`, `ip_type` FROM .server_ip WHERE `server_id` = 1 -> 1064 (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.server_ip WHERE `server_id` = 1' at line 1)
Correct behaviour
No SQL error.
Environment
Server OS + version: Ubuntu 20.04
ISPConfig version: 3.2.9 / develop
Software version of the related software (Rspamd): 3.4-1~focal