How to test your SPAM filter:
Send a message with this text:
XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X
Now check the SPAM folder.
How to test your virus filter
Download the .COM file here: https://www.eicar.org/download-anti-malware-testfile/
Then:
cat /var/log/clamav/clamav.log
...
Mon Jul 3 22:06:01 2023 -> instream(local): Win.Test.EICAR_HDB-1(178f3039a541e36531d47d40bb906457:1772) FOUND