@jwildeboer Hello Jan. I just moved servers and previously used the cspam.bash script of yours.
It's been working great, but my use was slightly different, not using cscli myself. I have now changed this into a small fail2ban jail that you can find here https://codeberg.org/blindcoder/ShareTheBasics/src/branch/main/fail2ban/postfix-spam-systemd.conf
Thank you for the original script!