Re: [exim] Block files extentions

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Cyborg
Date:  
À: exim-users
Sujet: 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