Open Aswathy-git opened 22 hours ago
The MaxFileSize 100
setting doesn't appear in the clamconf -n
output. It appears your config path is: /etc/clamd.d/scan.conf
so make sure you put the MaxFileSize
setting in there.
For MaxScanSize
, you'll want it to be much larger than 100. That value should be greater than ~2x the sum of the size of any archive plus its contents. I'd go with like maybe MaxScanSize 1000
for your configuration.
I am using ClamAV module (https://www.drupal.org/project/clamav) version 2.0.2 in Drupal 10.3.6. I have a file upload field in which 'Maximum upload size' is 100 MB and it allows file type 'zip'. When uploading zip files of size below 25 MB, it is uploading successfully. But when we upload zip files of size above 25 MB, it is showing the following error :
I have applied the following solutions :
In the path "/admin/config/media/clamav", if we are updating "Behaviour when ClamAV is unavailable" to 'Allow unchecked files", above 25 MB zip files are uploading. But we want to check "Block unchecked files".
Following are the existing configurations in our server :
Already posted query : https://www.drupal.org/project/clamav/issues/3485859.
Any solution? Thanks in advance.