--- 1.16/check_mime.conf 2018-04-20 19:03:03.000000000 -0500 +++ 1.17/check_mime.conf 2018-05-24 00:30:05.000000000 -0500 @@ -1,6 +1,7 @@ warn decode = default deny message = Blacklisted file extension detected ($mime_filename) + condition = ${if !eq{$acl_m_esf_skip}{1}} condition = ${if match \ {${lc:$mime_filename}} \ {\N(\.exe|\.pif|\.bat|\.scr|\.lnk|\.com|\.vbs|\.cpl|\.jar)$\N} \ @@ -8,6 +9,7 @@ deny message = zip file contains an attachment with a dangerous payload ($mime_filename). + condition = ${if !eq{$acl_m_esf_skip}{1}} condition = ${if match \ {${lc:$mime_filename}} \ {\N(\.zip)$\N} \