<div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 22 January 2018 at 22:28, @lbutlr <span dir="ltr"><<a href="mailto:kremels@kreme.com" target="_blank">kremels@kreme.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I have a file mime_headers.pcre in postfix:<br>
/^\s*Content-(Disposition|Type<wbr>).*name\s*=\s*"?(.*\.(ade|adp|<wbr>bas|bat|chm|cmd|com|cpl|crt|<wbr>dll|exe|hlp|hta|inf|ins|isp|<wbr>js|jse|lnk|mdb|mde|mdt|mdw|<wbr>msc|msi|msp|mst|nws|ops|pcd|<wbr>pif|prf|reg|scf|scr\??|sct|<wbr>shb|shs|shm|swf|vb[esx]?|vxd|<wbr>wsc|wsf|wsh))(\?=)?"?\s*(;|$)/<wbr>x REJECT Attachment name "$2" may not end with ".$3”<br></blockquote><div><br></div><div class="gmail_default" style="font-size:small">I do this too, but I use the exact example at <a href="http://www.postfix.org/header_checks.5.html">http://www.postfix.org/header_checks.5.html</a> - is there a reason why yours is subtly different?</div></div></div></div>