RSpamd Whitelist IP Template Loop Not Working
short description
I believe there may be an issue with pulling Server IPv6 from database into template loop for user.conf file in rspamd ('/etc/rspamd/local.d/user.conf'). I noticed at first that the file only had a single IP address whitelisted under whitelist-ip, which is the only IPv4 address I had under Server IP addresses in the Control Panel, which makes sense. But I wanted to whitelist additional IPv4 and IPv6 addresses, so I dug into the install/lib/installer_base.lib.php script and found that it was looping through the database for set Server IP addresses by server ID, so I added the additional IPv4 and IPv6 addresses to the Server IP addresses section and re-ran the ispconfig_update.sh script (with the --force argument), and now the whitelist-ip section is now empty, or more precisely set with ip = ""; only. I'm thinking this may be an issue with how the script is handling IPv6 addresses? Also, I'm not sure if IPv6 addresses should be enclosed with [] in the user.conf file or not for these (I know it needs the brackets [] in the bind addresses so figured it was worth mentioning).
correct behaviour
Well I would assume to list all the IPv4 and IPv6 addresses from the database in the whitelist-ip section.
environment
Server OS: Ubuntu
Server OS version: 20.04.2
ISPConfig version: 3.2.2