Re: [exim] Block files extentions

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Cyborg
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: 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