Hello Guys,

I am new to exim. I want to block all the mails containing .exe(attachment) So for that i used that in my exim file

acl_check_mime:

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

But now my problem is that many of user is sending .exe inside the .zip file, Please Guide me how can i block that mails. Any help is appriciated.


Thanks & Regards,
Anant Saraswat

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

Reply via email to