I disabled the postfix service because email for all domians hosted on CWP is handled by another server.
However, I would like to use ClamAV to scan files that are uploaded via some Perl web apps. I enabled and started 'clamd-scan.service' and 'clamd@scan.service'.
The scripts are not working and when I test via command line (e.g., clamdscan /home/jeff/public_html/uploads/eicar_com.zip), I get the following error:
ERROR: Could not connect to clamd on 127.0.0.1: Connection refused
----------- SCAN SUMMARY -----------
Infected files: 0
Total errors: 1
Time: 0.011 sec (0 m 0 s)
I also tried enabling and starting 'amavisd.service' but I got the same error when testing.
Not sure what to look at next. Anyone have any ideas?