Re: [exim] Block attachment extension

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Lena
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Block attachment extension
> From: S?awomir Dworaczek

> how to block attachment with zip rar etc. extension in Exim 4.91 ?
> this entry in the configuration has stopped working


> deny   condition      = ${if match{${lc:$mime_filename}}{\N(\.com|\.vbs|\.bat|\.pif|\.scr|\.exe|\.js|\.mpeg|\.wmv|\.wav|\.wmp|\.asf|\.zip|\.rar|\.mpg|\.bmp)$\N}}


If at the beginning of Exim config you haven't the line

check_rfc2047_length = false

then the reason is long filenames, not Exim version. Add this line.