DirectAdmin v1.63.6 has been released

jca

Verified User
Joined
Oct 31, 2006
Messages
301
Location
Allen, TX
Is there a way to auto quarantine infected files found by ClamAV?

Maybe it's just my customers, but I trialed this tool and seems some emails in their trash folder are now tagged as virus and they reach out asking how to delete the virus and make a huge fuss over it. Auto quarantine would ease this by storing the files in a separate folder (maybe keep structure in case they want to restore if it breaks something)
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
9,601
Location
Maastricht
Try installing Maldetect, it's a good system and puts your file into quarantaine.
 
  • Like
Reactions: jca

jca

Verified User
Joined
Oct 31, 2006
Messages
301
Location
Allen, TX
Try installing Maldetect, it's a good system and puts your file into quarantaine.
Yeah I got it installed, but it doesn't offer a frontend/GUI for users to use which this tool does. Also Maldet works on background while this is more of a user initiated process, it's just cumberstone on how to delete a random email file infected with a trojan.
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
9,601
Location
Maastricht
but it doesn't offer a frontend/GUI for users
That is correct, it's not for users. Neither is Clamav by the way.

If it's only mail in their trash folder, can't they just use imap, they can open the mail on their local system and have their own virusscanner "repair" things?

I wouldn't bother for a minute and if they fuzz I would tell them to contact their senders to take care not to send infected files over and complaint with them.
 

bdacus01

Verified User
Joined
Jul 22, 2017
Messages
3,741
Location
Murfreesboro
Is there a way to auto quarantine infected files found by ClamAV?
you could write a script to use the -remove flag
Code:
clamscan -r -remove /home/USER
or
you could use it to move them to a folder like
Code:
clamscan -r --move=/home/USER/VIRUS /home/USER
 
Top