[clamav-users] Whitelisting extensions for virus scan

Kris Deugau kdeugau at vianet.ca
Fri Oct 26 14:11:35 UTC 2018


Johnny Time wrote:
> Hi Folks,
> 
> We use Clamav and we wonder if we can whitelist some extensions on our 
> virus scan ?
> 
> 
> For exemple, we wanted to authorize only a white list which contains 
> *.doc,*.xls,*.pdf and ban the others extensions.

If you're looking to block all files except a limited set of extensions, 
this is probably better done a layer up in your mail flow.  I call Clam 
from MIMEDefang, for instance, so I would configure MIMEDefang to reject 
mail that has any other file types attached.

However, the three you've listed can all contain malware;  you really 
don't want to *skip* scanning those.

-kgd



More information about the clamav-users mailing list