<div dir="ltr">Or you could just let MailScanner do its job and not deliver these files - along with the e-mails with the dangerous attachments.<img src="http://t.sigopn01.com/img.gif?ukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAgKCUyroKDA&amp;key=fd0d1ecd-c83d-47de-a137-142c0e1459ac" width="1" height="1" style="display:none"></div>
<div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div style="font-family:arial;font-size:small"><div><br><b>Alex Neuman van der Hans<br></b>Reliant Technologies / Vida Digital<br><a href="http://vidadigital.com.pa/" style="color:rgb(17,85,204)" target="_blank">http://vidadigital.com.pa/</a><br>
<br></div><div>Mobile: +507-6781-9505<br>Work: +507-832-6725<br>Work (USA): +1-440-253-9789</div><div>Skype: <a>AlexNeuman</a></div><div><br>Don&#39;t miss <a href="http://new.livestream.com/accounts/5061819" target="_blank">Vida Digital on LiveStream</a>!</div>
<div>Saturdays 8am-10am on 104.3FM Panama</div><div><br>Follow <b><a href="https://twitter.com/alexneuman" style="color:rgb(17,85,204)" target="_blank">@AlexNeuman</a></b> on Twitter<br>Like <a href="https://facebook.com/vidadigital/" style="color:rgb(17,85,204)" target="_blank">Vida Digital</a> on Facebook</div>
</div><div style="font-family:arial;font-size:small">Follow <a href="http://instagram.com/vidadigital" style="color:rgb(17,85,204)" target="_blank">VidaDigital</a> on Instagram</div><div style="font-family:arial;font-size:small">
Subscribe to <a href="https://youtube.com/reliantpty" style="color:rgb(17,85,204)" target="_blank">Vida Digital</a> on Youtube</div></div></div>
<br><br><div class="gmail_quote">On Fri, Jun 27, 2014 at 4:16 PM, Max Kipness <span dir="ltr">&lt;<a href="mailto:max@inmindlabs.com" target="_blank">max@inmindlabs.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
&gt;What about not allowing messages with forbidden attachments through at all? <br>
&gt;In any case, you might want to try something like this:<br>
&gt;mimeheader SCR_ATTACHED Content-Type =~ /scr/i<br>
&gt;describe SCR_ATTACHED email contains an scr file attachment<br>
&gt;score SCR_ATTACHED 1.0<br>
<br>
I actually spoke a little soon.<br>
<br>
Although this works great on the actual SCR files. I realized later they are sent inside of zip files. This doesn&#39;t work for an SCR inside of a zip, of course because the mime header has no mention of the inside file.<br>

<br>
For now I&#39;m giving zip files a low score, but enough to take the email to definite &quot;is spam&quot; with a Bayes 999.<br>
<br>
I&#39;m also reviewing Rick&#39;s suggestion.<br>
<br>
Thanks all,<br>
<div class="HOEnZb"><div class="h5">Max<br>
<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br>
</div></div></blockquote></div><br></div>