CXS not scan for virus

Community forum to discuss cxs.
If you believe that there is a problem with your cxs installation and want support then, as a paid product, you should use the helpdesk after having consulted the documentation.
Post Reply
nickpetros
Junior Member
Posts: 2
Joined: 11 Oct 2014, 12:20

CXS not scan for virus

Post by nickpetros »

Hello,
i have the latest version of CXS in cpanel.
Also i have some extra clamav rules from Atomicorp.
When i scan with clamscan -r -i /home/path/public_html
i can find some virus, for example Atomicorp.PHP.Malware.19.UNOFFICIAL FOUND
However when i scan with cxs, even if i enable all options for virus i find nothing.
For example:
/usr/sbin/cxs --report /var/log/cxs.scan --logfile /var/log/cxs.log --mail root --exploitscan --virusscan --sversionscan --nobayes --nounofficial -I /etc/cxs/cxs.ignore --options mMOLfSGchexdnwZRrD --voptions mfuhexT --summary --html --ssl -C /var/clamd --fallback -E --user XXX

The clam socket is the right one and there no any error about clamav when i run cxs.

How i can debug why CXS not use clamav?
Thank you
Sarah
Moderator
Posts: 934
Joined: 09 Dec 2006, 22:49

Re: CXS not scan for virus

Post by Sarah »

It is not using your additional rules because unofficial rules are disabled with the option --nounofficial. Either remove that option or change it to --unofficial so that it will use your additional clamav rules.

In addition, using the --voptions setting will RESTRICT the types of files that cxs will scan using clamav. If you want it to scan all files, then leave that option out completely.
Post Reply