Re: [exim] MIME-ACL: Request for MIME checks

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Oliver Egginger
Date:  
À: Odhiambo Washington
CC: exim-users
Sujet: Re: [exim] MIME-ACL: Request for MIME checks
I beg your pardon. I forgot to include my BAD_ATTACHMENTS macro:

BAD_ATTACHMENTS = cmd|com|js|reg|chm|cnf|hta|ins|scf|sct|vbs|vbe|\
wsc|wsf|wsh|xnk|mad|maf|mag|mar|mas|mat|mav|maw|bat|pif|scr|exe

This should make it clearer.

- oliver


Odhiambo Washingtonwrote wrote:
> > # File extension filtering.
> > deny   message  = This message contains a prohibited file extension (${extract{-1}{.}{${lc:$mime_filename}}})
> >    log_message     = BAD_ATTACHMENT (${extract{-1}{.}{${lc:$mime_filename}}})
> >    condition       = ${if match{${extract{-1}{.}{${lc:$mime_filename}}}}{\N^(BAD_ATTACHMENTS)$\N}{1}{0}}

>
> Hi Oliver,
>
> I don't quite understand what this one does ...