By default when you rebuild the mail server in CWP with antispam then it comes with enabled ClamAV & SpamAssassin protection.
You can enable it from CWP.admin by going to MailServer Manager.
Test ClamAV
Send an email with content
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
If ClamAV works you will see the following in the log: /var/log/maillog
Dec 27 07:22:42 cwp1 clamd[17958]: /var/spool/amavisd/tmp/amavis-20211227T071305-18132-Ocyoo8yY/parts/p001: {HEX}EICAR.TEST.3.UNOFFICIAL FOUND Dec 27 07:22:42 cwp1 amavis[18132]: (18132-02) Blocked INFECTED ({HEX}EICAR.TEST.3.UNOFFICIAL) {DiscardedOpenRelay,Quarantined}, [209.85.216.47]:46925 [209.85.216.47]-> , Queue-ID: 9762E703FD2, Message-ID: , mail_id: TKHZnGx2Bs7T, Hits: -, size: 3868, dkim_sd=20210112:gmail.com, 111 ms Dec 27 07:22:42 cwp1 postfix/smtp[12663]: 9762E703FD2: to= , relay=127.0.0.1[127.0.0.1]:10024, delay=0.34, delays=0.21/0.02/0/0.11, dsn=2.7.0, status=sent (250 2.7.0 Ok, discarded, id=18132-02 - INFECTED: {HEX}EICAR.TEST.3.UNOFFICIAL)
Test SpamAssassin
Send an email with content:
XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X
If SpamAssassin works you will see the following in the log: /var/log/maillog
Dec 27 07:25:37 cwp1 amavis[18133]: (18133-02) Blocked SPAM {DiscardedOpenRelay,Quarantined}, [209.85.215.174]:37637 [209.85.215.174]-> , Queue-ID: 59C16703FD2, Message-ID: , mail_id: vES-jRB7LKPt, Hits: 999.904, size: 3903, dkim_sd=20210112:gmail.com, 579 ms