Hello,
Can anyone suggest me how to block .xz file extensions? I already edited filename.rules.conf with this new line
deny \.xz$ - -
but still not working. Can anyone please help? Thanks!
Block xz file extensions
Re: Block xz file extensions
Hi.
After you save the file /usr/mailscanner/etc/filename.rules.conf you should restart MailScanner.
I have the following rules on the same file and are working without any issues:
Sergio
After you save the file /usr/mailscanner/etc/filename.rules.conf you should restart MailScanner.
I have the following rules on the same file and are working without any issues:
Code: Select all
# My own blocked file extensions
deny \.arj$ Possible virus hidden in a attachment ARJ files are often used to hide viruses
deny \.jar$ Possible virus hidden in a attachment JAR files are often used to hide viruses
deny \.ace$ Possible virus hidden in a attachment ACE files are often used to hide viruses
deny \.gz$ Possible virus hidden in a attachment GZ files are often used to hide viruses