{"id":5274,"date":"2017-08-04T15:45:57","date_gmt":"2017-08-04T12:45:57","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=5274"},"modified":"2017-08-04T15:45:57","modified_gmt":"2017-08-04T12:45:57","slug":"exim-demime-deprecated-in-4-88","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=5274","title":{"rendered":"[exim] demime deprecated in 4.88"},"content":{"rendered":"<p>\u041d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0432\u0435\u0440\u0441\u0438\u0438 <strong>4.88 acl<\/strong> demime \u043f\u0440\u0438\u0437\u043d\u0430\u043d \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0438\u043c \u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d:<\/p>\n<blockquote><p><span style=\"color: #993366;\">JH\/02 The obsolete acl condition &#8220;demime&#8221; is removed (finally, after ten<\/span><br \/>\n<span style=\"color: #993366;\"> years of being deprecated). The replacements are the ACLs<\/span><br \/>\n<span style=\"color: #993366;\"> acl_smtp_mime and acl_not_smtp_mime<\/span><\/p><\/blockquote>\n<p>\u041d\u0438\u0436\u0435 \u0441\u043e\u0432\u0435\u0442 \u0441 \u0441\u0430\u0439\u0442\u0430 <strong>forum.lissyara.su<\/strong> \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0437\u0430\u043c\u0435\u043d\u0443 <strong>acl&#8217;y<\/strong><\/p>\n<p><!--more--><\/p>\n<pre>acl_smtp_mime\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0= acl_check_mime\r\n\r\n...\r\n\r\nacl_check_mime:\r\n\r\naccept hosts\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 = :\r\n\r\n# --- accept messages for abuse \/ postmaster\r\naccept condition\u00a0 \u00a0 \u00a0 = $acl_m_pm\r\n\r\ndeny\u00a0 \u00a0decode\u00a0 \u00a0 \u00a0 \u00a0 \u00a0= default\r\ncondition\u00a0 \u00a0 \u00a0 = ${if &gt;{$mime_anomaly_level}{1}}\r\nmessage\u00a0 \u00a0 \u00a0 \u00a0 = This message contains a MIME error ($mime_anomaly_text)\r\n\r\n# --- Check MIME boundary delimiter according RFC2046\r\ndeny\u00a0 \u00a0condition\u00a0 \u00a0 \u00a0 = ${if match{$mime_boundary}{\\N( |\\t)$\\N}}\r\nmessage\u00a0 \u00a0 \u00a0 \u00a0 = MIME boundary delimiter ends with whitespace\r\n\r\ndeny\u00a0 \u00a0condition\u00a0 \u00a0 \u00a0 = ${if &gt;{${strlen:$mime_boundary}}{70}}\r\nmessage\u00a0 \u00a0 \u00a0 \u00a0 = Too long MIME boundary delimiter\r\n\r\naccept authenticated\u00a0 = *\r\n\r\nwarn\u00a0 !hosts\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 = +relay_from_hosts\r\ncondition\u00a0 \u00a0 \u00a0 = ${if &gt;{$mime_anomaly_level}{0}}\r\nset acl_c0\u00a0 \u00a0 \u00a0= ${eval:$acl_c0+20}\r\nset acl_c1\u00a0 \u00a0 \u00a0= DEMIME(20) found MIME error ($mime_anomaly_text); $acl_c1\r\n\r\naccept\r\n<\/pre>\n<p>\u0415\u0441\u043b\u0438 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043f\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f\u043c, \u0442\u043e \u0433\u0434\u0435-\u0442\u043e \u043f\u043e\u0441\u043b\u0435 <strong>decode = default<\/strong> \u043c\u043e\u0436\u043d\u043e \u0442\u0438\u043f\u0430 \u0442\u0430\u043a\u043e\u0433\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c:<\/p>\n<pre>\u00a0 \r\ndeny\u00a0 \u00a0condition\u00a0 \u00a0 \u00a0 = ${if match{${lc:$mime_filename}}{\\N(\\.com|\\.vbs|\\.bat|\\.pif|\\.scr|\\.exe)$\\N}}\r\nmessage = Forbidden file type in attachment found\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u041d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0432\u0435\u0440\u0441\u0438\u0438 4.88 acl demime \u043f\u0440\u0438\u0437\u043d\u0430\u043d \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0438\u043c \u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d: JH\/02 The obsolete acl condition &#8220;demime&#8221; is removed (finally, after ten years of being deprecated). The replacements are the ACLs acl_smtp_mime and acl_not_smtp_mime \u041d\u0438\u0436\u0435 \u0441\u043e\u0432\u0435\u0442 \u0441 \u0441\u0430\u0439\u0442\u0430 forum.lissyara.su \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0437\u0430\u043c\u0435\u043d\u0443 acl&#8217;y<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,10],"tags":[],"class_list":["post-5274","post","type-post","status-publish","format-standard","hentry","category-mail","category-others"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/5274","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5274"}],"version-history":[{"count":1,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/5274\/revisions"}],"predecessor-version":[{"id":5275,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/5274\/revisions\/5275"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}