[exim] How to block the mails which contain .exe inside a zi…

Top Page
Delete this message
Reply to this message
Author: Anant
Date:  
To: exim-users
Subject: [exim] How to block the mails which contain .exe inside a zip file
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