Re: [exim] demime & malware

トップ ページ
このメッセージを削除
このメッセージに返信
著者: David S. Madole
日付:  
To: exim-users
題目: 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