[exim] Block attachment extension

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Sławomir Dworaczek
Data:  
Para: exim-users
Asunto: [exim] Block attachment extension
Heloo
how to block attachment with zip rar etc. extension in Exim 4.91 ?
this entry in the configuration has stopped working

deny   condition      = ${if match{$mime_boundary}{\N( |\t)$\N}}
       message        = MIME boundary delimiter ends with whitespace
deny   condition      = ${if >{${strlen:$mime_boundary}}{70}}
       message        = Too long MIME boundary delimiter
deny   condition      = ${if match{${lc:$mime_filename}}{\N(\.com|\.vbs|\.bat|\.pif|\.scr|\.exe|\.js|\.mpeg|\.wmv|\.wav|\.wmp|\.asf|\.zip|\.rar|\.mpg|\.bmp)$\N}}



regards
Slawek