I made some adjustments from this forum, and that added the -d parameter. (Thank you WalterH for this part what helped me writing). So I observed the -d parameter was cool, but there was a point missing. So i went a little further and created a new /var/sbin/grommuno-spam-run.sh.
The script:
Is not there, because this forum software sux. So it is on Github.
(https://github.com/WargamingPlayer/Grommunio/blob/main/source/usr/sbin/grommunio-spam-run.sh)
Explanation
This script adds a parameter -n, or —no-delete, enhances the -d to also support —delete. But also enables the default script behaviour with a configuration file /etc/gromox/spamrun.cfg adding the parameter SPAMRUN_DELETE to make the behaviour of the script deleting messages when set to True.