Re: [exim] demime & malware

Pàgina inicial
Delete this message
Reply to this message
Autor: David S. Madole
Data:  
A: exim-users
Assumpte: 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