Block executable files which is compressed using gzip

Valentin Laskov it at festa.bg
Wed Jan 20 07:42:17 UTC 2021


Hi,

Take a look at

Archives: Filetype Rules = %etc-dir%/archives.filetype.rules.conf

in MailScanner.conf file.

Also, in my config I have

File Command = /usr/local/bin/file-wrapper

and

cat /usr/local/bin/file-wrapper
#!/bin/bash
#
#
/usr/bin/file --mime-type "$1"

Regards!
Valentin




More information about the MailScanner mailing list