Zip files

Denis Beauchemin Denis.Beauchemin at USherbrooke.ca
Wed Apr 25 18:43:37 IST 2007


Nicolas Canepa a écrit :
> I hace a problem with zip files. I want mailscanner not to unzip zip 
> files, so I put in MailScanner.conf :
>
> # Where the "gunzip" command is installed.
> # This is used for expanding .gz files.
> # To disable gzipped file checking, set this value to blank
> # and the timeout to 0.
> # Gunzip Command = /bin/gunzip
> Gunzip Command =
>
> # The maximum length of time the "gunzip" command is allowed to run to 
> expand
> # 1 attachment file (in seconds).
> # Gunzip Timeout = 50
> Gunzip Timeout = 0
>
> The problem is that still unzips the files!
> Should I change something else in the config file?
>
> Thanks,
Nicolas,

What you are looking for is:
# The maximum depth to which zip archives will be unpacked, to allow for
# checking filenames and filetypes within zip archives.
#
# Note: This setting does *not* affect virus scanning in archives at all.
#
# To disable this feature set this to 0.
# A common useful setting is this option = 0, and Allow Password-Protected
# Archives = no. That block password-protected archives but does not do
# any filename/filetype checks on the files within the archive.
# This can also be the filename of a ruleset.
Maximum Archive Depth = 0

Denis

-- 
   _
  °v°   Denis Beauchemin, analyste
 /(_)\  Université de Sherbrooke, S.T.I.
  ^ ^   T: 819.821.8000x62252 F: 819.821.8045


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3595 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20070425/8110fe65/smime.bin


More information about the MailScanner mailing list