Re: [exim] demime & malware

Page principale
Supprimer ce message
Répondre à ce message
Auteur: David S. Madole
Date:  
À: exim-users
Sujet: Re: [exim] demime & malware
From: "Dean Brooks" <dean@???>
>
>> My motion to declare "demime" deprecated will come with the 4.50
>> release. Which will also have a revised documentation. :)
>
> Hmm... The MIME ACL doesn't appear to have a functional replacement
> for easily matching filename extensions that demime had does it? Is
> there a functional equivalent to this?


How about $mime_filename, maybe like:

condition = ${if
match{$mime_filename}{[.](exe|com|pif|scr)\$}{true}{false}}

I will leave it up to you to decide whether this qualifies for "easily".
I don't think it's too bad.

David