How to scan file with clamscan and others related questions

NethServer Version: 7
Module: ClamAV

ClamAV seams to only being used by rSpamD and I thought I would be able to program a scan for my files too (like it is possible with OpenMediaVault).

  • Did I understood properly ?

Using clamscan via the console I was wondering if…

  1. I have to specify the database and if yes where is the database
    clamscan -d /$PATH/$DATABASE -r /var/lib/nethserver/ibay

  2. I’m currently running this command but detect-broken is skipped
    clamscan --detect-pua=yes --detect-structured=yes --detect-broken=yes -r -l /home/clamscan.log /var/lib/nethserver/ibay/

Does someones have

  • an idea why detect-broken is skipped ?
  • a better set of option to suggest ?

I’m all ears here :slight_smile:

@JOduMonT

Hi Jonathan

I use Stephdl’s modul here:

https://wiki.nethserver.org/doku.php?id=clamscan

This is working on 25-30 servers…

My 2 cents
Andy

1 Like

thank Andy, it works perfectly but I only see it in the old GUI, not in Cockpit.
Are you able to use it via Cockpit ?

Nevermind I found it under Application -> ClamScan

2 Likes