Hi, On 02.04.2013 17:32, polloxx wrote:
> We'd like to block zipped attachmets which contain a .exe file. > What is the easiest (and fasted) way to accomplish this using Amavis? First check if .exe extension is not commented out in $banned_filename_re definition, then check that 'zip' is not commented out in @decoders definition in your amavisd.conf. This is enough. "Filename banning" is in fact a misnomer because when you switch on banning files with .exe extension, the file content is also checked, so if an executable has for example a .pdf extension, it will be banned. Best regards, Michael Dukelsky
