Re: [exim] Block attachment extension

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Heiko Schlittermann
日付:  
To: exim-users
題目: Re: [exim] Block attachment extension
Sławomir Dworaczek via Exim-users <exim-users@???> (Do 23 Aug 2018 13:13:45 CEST):
> Heloo
> 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{$mime_boundary}{\N( |\t)$\N}}
>        message        = MIME boundary delimiter ends with whitespace
> deny   condition      = ${if >{${strlen:$mime_boundary}}{70}}
>        message        = Too long MIME boundary delimiter
> 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}}


Part of which ACL is it? What is the relevant log message?
$mime_boundary part of the MIME ACL, but I'm not sure if it already
already existed with the old demime options (I've forgotten how it worked).

Can you past the MIME and the DATA ACLs?

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
--
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: F69376CE -
 ! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -