Oh Great, thanks Vincent,  it now works for me too ... <span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang="EN-US">dangerous content scanning was set to no in my case as well</span><br>
<br>Thank you Joolee and Paul for your suggestions too :-)<br><br><div class="gmail_quote">On Wed, Aug 29, 2012 at 1:57 PM, Vincent Miszczak <span dir="ltr">&lt;<a href="mailto:vmiszczak@ankama.com" target="_blank">vmiszczak@ankama.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div link="blue" vlink="purple" lang="FR"><div><p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang="EN-US">Hello,<u></u><u></u></span></p><p class="MsoNormal">
<span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang="EN-US">I’ve been running with this issue.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang="EN-US">In my case, the setting “dangerous content scanning” was set to “no”. Setting it to “yes” solved my problem.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang="EN-US">Regards<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:10pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">De :</span></b><span style="font-size:10pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:mailscanner-bounces@lists.mailscanner.info" target="_blank">mailscanner-bounces@lists.mailscanner.info</a> [mailto:<a href="mailto:mailscanner-bounces@lists.mailscanner.info" target="_blank">mailscanner-bounces@lists.mailscanner.info</a>] <b>De la part de</b> Ryan Braganza<br>
<b>Envoyé :</b> mercredi 29 aoűt 2012 07:13<br><b>Ŕ :</b> MailScanner discussion<br><b>Objet :</b> Re: Mail-scanner not able to block exe in zip<u></u><u></u></span></p><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-bottom:12pt">I did a fresh centos5.5 installion with the latest Mailscanner and its working perfect, It blocks all zipped exe&#39;s as desired. I guess there is some custom configuration on my production servers due to which it fails to work. Will check that out today. <br>
<br>:-)<u></u><u></u></p><div><p class="MsoNormal">On Tue, Aug 28, 2012 at 7:25 PM, Ryan Braganza &lt;<a href="mailto:ryan.virgo@gmail.com" target="_blank">ryan.virgo@gmail.com</a>&gt; wrote:<u></u><u></u></p><p class="MsoNormal">
The File Command in my conf was /usr/bin/file , which I then set to /usr/bin/file -i .. Still no luck,  <u></u><u></u></p><div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Tue, Aug 28, 2012 at 4:14 PM, Joolee &lt;<a href="mailto:mailscanner@joolee.nl" target="_blank">mailscanner@joolee.nl</a>&gt; wrote:<u></u><u></u></p>
<p class="MsoNormal">As far as i know, this setting only applies to anti-spam features and perhaps virus scans. The other protection functions should ignore this setting. It would be pretty useless to only block executables lower than a certain file size and there is no mention in the rules files. (Although most virus executables are extremely small so they can be send in large volumes.)<br>
<br>@Ryan: <br>What is your value of the &quot;File Command&quot; setting? There was a discussion a while ago that this should be set to /path/to/file -i and was set to /path/to/file in older versions of MailScanner.<u></u><u></u></p>
<div><div><p class="MsoNormal" style="margin-bottom:12pt"><u></u> <u></u></p><div><p class="MsoNormal">On 28 August 2012 09:55, Paul Bijnens &lt;<a href="mailto:Paul.Bijnens@xplanation.com" target="_blank">Paul.Bijnens@xplanation.com</a>&gt; wrote:<u></u><u></u></p>
<p class="MsoNormal"><br>Is the setting  &quot;Max Spam Check Size&quot; maybe excluding your large exe-inside-zip to be slipping through the fishing net?<u></u><u></u></p><div><p class="MsoNormal"><br><br><br><br>On 2012-08-28 05:09, Ryan Braganza wrote:<br>
&gt; Hi Joolee below are the contents of the files<br>&gt;<br>&gt; cat archives.filetype.rules.conf<br>&gt;<br>&gt; allow    text        -            -<br>&gt; allow    \bscript    -            -<br>&gt; allow    archive        -            -<br>
&gt; allow    postscript    -            -<br>&gt; deny    self-extract    No self-extracting archives    No self-extracting archives allowed<br>&gt; deny    executable    No executables        No programs allowed<br>&gt; #EXAMPLE: deny    -    x-dosexec    No DOS executables    No DOS programs allowed<br>
&gt; deny    ELF        No executables        No programs allowed<br>&gt; deny    Registry    No Windows Registry entries    No Windows Registry files allowed<br>&gt; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br>
&gt; cat archives.filename.rules.conf |grep exe<br>&gt;<br>&gt; deny    pretty\s+park\.exe$ &quot;Pretty Park&quot; virus &quot;Pretty Park&quot; virus<br>&gt; deny    happy99\.exe$ &quot;Happy&quot; virus &quot;Happy&quot; virus<br>
&gt; deny    \.exe$        Windows/DOS Executable                                Executable DOS/Windows programs are<br>&gt; dangerous in email<br>&gt; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br>
&gt;<br>&gt; This is the ref to those files in MailScanner.conf<br>&gt;<br>&gt; cat MailScanner.conf |grep ^Archives: |grep Rules<br>&gt;<br>&gt; Archives: Filename Rules = %etc-dir%/archives.filename.rules.conf<br>&gt; Archives: Filetype Rules = %etc-dir%/archives.filetype.rules.conf<br>
&gt;<br>&gt; Yes I am zipping the exe files when I send the mail.<br>&gt;<br>&gt;<u></u><u></u></p></div><div><p class="MsoNormal">&gt; On Mon, Aug 27, 2012 at 8:34 PM, Joolee &lt;<a href="mailto:mailscanner@joolee.nl" target="_blank">mailscanner@joolee.nl</a> &lt;mailto:<a href="mailto:mailscanner@joolee.nl" target="_blank">mailscanner@joolee.nl</a>&gt;&gt; wrote:<br>
&gt;<br>&gt;     What is the contents of your (archive).filename/filetype.rules.conf ? And do you reference these files from your<br>&gt;     Mailscanner.conf?<br>&gt;<br>&gt;     And do you zip the ryan1.exe file in your example or did you send that as a plain, non-zipped attachment?<br>
&gt;<u></u><u></u></p></div><div><p class="MsoNormal">&gt;     On 27 August 2012 15:55, Ryan Braganza &lt;<a href="mailto:ryan.virgo@gmail.com" target="_blank">ryan.virgo@gmail.com</a> &lt;mailto:<a href="mailto:ryan.virgo@gmail.com" target="_blank">ryan.virgo@gmail.com</a>&gt;&gt; wrote:<br>
&gt;<br>&gt;         Dear Users,<br>&gt;<br>&gt;         I have enabled blocking of exe in zip archives by setting the &quot;Maximum Archive Depth = 5&quot;<br>&gt;<br>&gt;         I have a proper exe file wininst-7.1.exe which maybe is some windows setup exe. When i do a file command for<br>
&gt;         this exe i get the below output<br>&gt;<br>&gt;         file wininst-7.1.exe<br>&gt;         wininst-7.1.exe: PE32 executable for MS Windows (GUI) Intel 80386 32-bit<br>&gt;<br>&gt;         If I zip it and mail it, Mailscanner fails to block it and pass&#39;s it through.<br>
&gt;<br>&gt;         If a create a file with an exe extension<br>&gt;<br>&gt;         file ryan1.exe<br>&gt;         ryan1.exe: ASCII text<br>&gt;<br>&gt;         Mailscanner is able to block it .....<br>&gt;<br>&gt;         What could be wrong here ? the version am using is mailscanner-4.84.3-1<br>
&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;         --<u></u><u></u></p></div><p class="MsoNormal">&gt;         *_________________________________________________________________________________<br>&gt;         *<u></u><u></u></p>
<div><p class="MsoNormal">&gt;         * Someone wrote:<br>&gt;         &quot;I understand that if you play a Microsoft Windows CD backwards you hear strange Satanic messages&quot;<br>&gt;<u></u><u></u></p></div><p class="MsoNormal">
&gt;         To which someone replied:* *<u></u><u></u></p><div><p class="MsoNormal">&gt;         &quot;It&#39;s even worse than that; play it forwards and it installs Windows Vista !&quot;<u></u><u></u></p></div><p class="MsoNormal">
&gt;         _________________________________________________________________________________*<br>&gt;<br>&gt;<br>&gt;         --<br>&gt;         MailScanner mailing list<br>&gt;         <a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a> &lt;mailto:<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a>&gt;<u></u><u></u></p>
<div><p class="MsoNormal">&gt;         <a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>&gt;<br>&gt;         Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
&gt;<br>&gt;         Support MailScanner development - buy the book off the website!<br>&gt;<br>&gt;<br>&gt;<br>&gt;     --<br>&gt;     MailScanner mailing list<u></u><u></u></p></div><p class="MsoNormal">&gt;     <a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a> &lt;mailto:<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a>&gt;<u></u><u></u></p>
<div><p class="MsoNormal">&gt;     <a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>&gt;<br>&gt;     Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
&gt;<br>&gt;     Support MailScanner development - buy the book off the website!<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<u></u><u></u></p></div><p class="MsoNormal">&gt; *_________________________________________________________________________________<br>
&gt; *<u></u><u></u></p><div><p class="MsoNormal">&gt; * Someone wrote:<br>&gt; &quot;I understand that if you play a Microsoft Windows CD backwards you hear strange Satanic messages&quot;<br>&gt;<u></u><u></u></p></div><p class="MsoNormal">
&gt; To which someone replied:* *<u></u><u></u></p><div><p class="MsoNormal">&gt; &quot;It&#39;s even worse than that; play it forwards and it installs Windows Vista !&quot;<u></u><u></u></p></div><p class="MsoNormal">&gt; _________________________________________________________________________________*<br>
&gt;<br>&gt;<br>&gt;<br><span style="color:rgb(136,136,136)"><br><br><br>--<br>Paul Bijnens, Xplanation                            Tel  <a href="tel:%2B32%2016%20397.525" target="_blank">+32 16 397.525</a><br>Interleuvenlaan 86, B-3001 Leuven, BELGIUM          Fax  <a href="tel:%2B32%2016%20397.552" target="_blank">+32 16 397.552</a><br>
***********************************************************************<br>* I think I&#39;ve got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *<br>* quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, ~., *<br>
* stop, end, ^]c, +++ ATH, disconnect,  halt,  abort,  hangup,  KJOB, *<br>* ^X^X,  :D::D,  kill -9 1,  kill -1 $$,  shutdown,  init 0,  Alt-F4, *<br>* Alt-f-e, Ctrl-Alt-Del, Alt-SysRq-reisub, Stop-A, AltGr-NumLock, ... *<br>
* ...  &quot;Are you sure?&quot;  ...   YES   ...   Phew ...   I&#39;m out          *<br>***********************************************************************</span><u></u><u></u></p><div><div><p class="MsoNormal">--<br>
MailScanner mailing list<br><a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">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!<u></u><u></u></p></div>
</div></div><p class="MsoNormal"><u></u> <u></u></p></div></div><p class="MsoNormal" style="margin-bottom:12pt"><br>--<br>MailScanner mailing list<br><a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">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!<u></u><u></u></p></div><p class="MsoNormal"><br><br clear="all"><u></u><u></u></p></div></div><p class="MsoNormal">-- <span style="color:rgb(136,136,136)"><u></u><u></u></span></p>
<p class="MsoNormal" style="text-align:center" align="center"><b><span style="color:rgb(136,136,136)">_________________________________________________________________________________</span></b><span style="color:rgb(136,136,136)"><u></u><u></u></span></p>
<div><p class="MsoNormal" style="text-align:center" align="center"><b><span style="color:rgb(136,136,136)"> Someone wrote:<br>&quot;I understand that if you play a Microsoft Windows CD backwards you hear strange Satanic messages&quot;<br>
<br>To which someone replied:</span></b><span style="color:rgb(136,136,136)"> <u></u><u></u></span></p></div><p class="MsoNormal" style="text-align:center" align="center"><b><span style="color:rgb(136,136,136)"><u></u> <u></u></span></b></p>
<div><p class="MsoNormal" style="text-align:center" align="center"><b><span style="color:rgb(136,136,136)">&quot;It&#39;s even worse than that; play it forwards and it installs Windows Vista !&quot;<br>_________________________________________________________________________________<u></u><u></u></span></b></p>
</div><p class="MsoNormal" style="text-align:center" align="center"><span style="color:rgb(136,136,136)"><u></u> <u></u></span></p><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal"><br><br clear="all"><br>
-- <span style="color:rgb(136,136,136)"><u></u><u></u></span></p><p class="MsoNormal" style="text-align:center" align="center"><b><span style>_________________________________________________________________________________</span></b><span style><u></u><u></u></span></p>
<p class="MsoNormal" style="text-align:center" align="center"><b><span style> Someone wrote:<br>&quot;I understand that if you play a Microsoft Windows CD backwards you hear strange Satanic messages&quot;<br><br>To which someone replied:</span></b><span style="color:rgb(136,136,136)"> </span><b><span style><br>
&quot;It&#39;s even worse than that; play it forwards and it installs Windows Vista !&quot;<br>_________________________________________________________________________________</span></b><span style="color:rgb(136,136,136)"><u></u><u></u></span></p>
</div></div><span class="HOEnZb"><font color="#888888"><p class="MsoNormal"><br><br>-- <br>This message has been scanned for viruses and <br>dangerous content by <a href="http://www.mailscanner.info/" target="_blank"><b>MailScanner</b></a>, and is <br>
believed to be clean. <u></u><u></u></p></font></span></div><span class="HOEnZb"><font color="#888888"><br>-- 
<br>This message has been scanned for viruses and
<br>dangerous content by
<a href="http://www.mailscanner.info/" target="_blank"><b>MailScanner</b></a>, and is
<br>believed to be clean.
</font></span></div>
<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>
<br></blockquote></div><br><br clear="all"><br>-- <br><font color="#888888"><div style="text-align:center"><div style="text-align:center;color:rgb(0,0,0)"><b>_________________________________________________________________________________<br>
</b></div><b style="color:rgb(0,0,0)"> Someone wrote:<br>&quot;I understand that if you play a Microsoft Windows CD backwards you hear strange Satanic messages&quot;<br><br>To which someone replied:</b>
<b style="color:rgb(0,0,0)"><br>&quot;It&#39;s even worse than that; play it forwards and it installs Windows Vista !&quot;<br>_________________________________________________________________________________</b><br><span></span></div>

</font><br>