Re: [exim] Block files extentions

Pàgina inicial
Delete this message
Reply to this message
Autor: Cyborg
Data:  
A: exim-users
Assumpte: Re: [exim] Block files extentions
Am 30.11.2012 21:56, schrieb Ronaldo Luiz de Carvalho:
> Hi all,
>
>
>
> How could I set exim to block some file extensions like: bat, chm, cmd, cpl,
> exe and others
>
>
>


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}}


accept