What are the various merits of putting checks for black listed file
extensions in acl_smtp_mime vs putting them in acl_smtp_data?  Which way
is faster?

acl_check_mime:
# File extension filtering.
deny message = Blacklisted file extension detected ($found_extension)
   condition = ${if match \
   {${lc:$mime_filename}} \
   {\N(\.exe|\.scr|\.vbs|\.pif|\.bat|\.scr|\.lnk|\.com)$\N} \
   {1}{0}}

vs

acl_check_content:
deny  message    = Blacklisted file extension detected ($found_extension)
      demime     = scr:vbs:bat:lnk:pif:exe:com

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to