Re: [exim] Block files extentions

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Cyborg
Datum:  
To: exim-users
Betreff: 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