Oh Great, thanks Vincent, it now works for me too ... <span style="font-size:11pt;font-family:"Calibri","sans-serif";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"><<a href="mailto:vmiszczak@ankama.com" target="_blank">vmiszczak@ankama.com</a>></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:"Calibri","sans-serif";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:"Calibri","sans-serif";color:rgb(31,73,125)" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";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:"Calibri","sans-serif";color:rgb(31,73,125)" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";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:"Calibri","sans-serif";color:rgb(31,73,125)" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";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:"Calibri","sans-serif";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:"Tahoma","sans-serif"">De :</span></b><span style="font-size:10pt;font-family:"Tahoma","sans-serif""> <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'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 <<a href="mailto:ryan.virgo@gmail.com" target="_blank">ryan.virgo@gmail.com</a>> 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 <<a href="mailto:mailscanner@joolee.nl" target="_blank">mailscanner@joolee.nl</a>> 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 "File Command" 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 <<a href="mailto:Paul.Bijnens@xplanation.com" target="_blank">Paul.Bijnens@xplanation.com</a>> wrote:<u></u><u></u></p>
<p class="MsoNormal"><br>Is the setting "Max Spam Check Size" 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>
> Hi Joolee below are the contents of the files<br>><br>> cat archives.filetype.rules.conf<br>><br>> allow text - -<br>> allow \bscript - -<br>> allow archive - -<br>
> allow postscript - -<br>> deny self-extract No self-extracting archives No self-extracting archives allowed<br>> deny executable No executables No programs allowed<br>> #EXAMPLE: deny - x-dosexec No DOS executables No DOS programs allowed<br>
> deny ELF No executables No programs allowed<br>> deny Registry No Windows Registry entries No Windows Registry files allowed<br>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br>
> cat archives.filename.rules.conf |grep exe<br>><br>> deny pretty\s+park\.exe$ "Pretty Park" virus "Pretty Park" virus<br>> deny happy99\.exe$ "Happy" virus "Happy" virus<br>
> deny \.exe$ Windows/DOS Executable Executable DOS/Windows programs are<br>> dangerous in email<br>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br>
><br>> This is the ref to those files in MailScanner.conf<br>><br>> cat MailScanner.conf |grep ^Archives: |grep Rules<br>><br>> Archives: Filename Rules = %etc-dir%/archives.filename.rules.conf<br>> Archives: Filetype Rules = %etc-dir%/archives.filetype.rules.conf<br>
><br>> Yes I am zipping the exe files when I send the mail.<br>><br>><u></u><u></u></p></div><div><p class="MsoNormal">> On Mon, Aug 27, 2012 at 8:34 PM, Joolee <<a href="mailto:mailscanner@joolee.nl" target="_blank">mailscanner@joolee.nl</a> <mailto:<a href="mailto:mailscanner@joolee.nl" target="_blank">mailscanner@joolee.nl</a>>> wrote:<br>
><br>> What is the contents of your (archive).filename/filetype.rules.conf ? And do you reference these files from your<br>> Mailscanner.conf?<br>><br>> And do you zip the ryan1.exe file in your example or did you send that as a plain, non-zipped attachment?<br>
><u></u><u></u></p></div><div><p class="MsoNormal">> On 27 August 2012 15:55, Ryan Braganza <<a href="mailto:ryan.virgo@gmail.com" target="_blank">ryan.virgo@gmail.com</a> <mailto:<a href="mailto:ryan.virgo@gmail.com" target="_blank">ryan.virgo@gmail.com</a>>> wrote:<br>
><br>> Dear Users,<br>><br>> I have enabled blocking of exe in zip archives by setting the "Maximum Archive Depth = 5"<br>><br>> 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>
> this exe i get the below output<br>><br>> file wininst-7.1.exe<br>> wininst-7.1.exe: PE32 executable for MS Windows (GUI) Intel 80386 32-bit<br>><br>> If I zip it and mail it, Mailscanner fails to block it and pass's it through.<br>
><br>> If a create a file with an exe extension<br>><br>> file ryan1.exe<br>> ryan1.exe: ASCII text<br>><br>> Mailscanner is able to block it .....<br>><br>> What could be wrong here ? the version am using is mailscanner-4.84.3-1<br>
><br>><br>><br>><br>> --<u></u><u></u></p></div><p class="MsoNormal">> *_________________________________________________________________________________<br>> *<u></u><u></u></p>
<div><p class="MsoNormal">> * Someone wrote:<br>> "I understand that if you play a Microsoft Windows CD backwards you hear strange Satanic messages"<br>><u></u><u></u></p></div><p class="MsoNormal">
> To which someone replied:* *<u></u><u></u></p><div><p class="MsoNormal">> "It's even worse than that; play it forwards and it installs Windows Vista !"<u></u><u></u></p></div><p class="MsoNormal">
> _________________________________________________________________________________*<br>><br>><br>> --<br>> MailScanner mailing list<br>> <a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a> <mailto:<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a>><u></u><u></u></p>
<div><p class="MsoNormal">> <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>><br>><br>> --<br>> MailScanner mailing list<u></u><u></u></p></div><p class="MsoNormal">> <a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a> <mailto:<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a>><u></u><u></u></p>
<div><p class="MsoNormal">> <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>><br>><br>><br>> --<u></u><u></u></p></div><p class="MsoNormal">> *_________________________________________________________________________________<br>
> *<u></u><u></u></p><div><p class="MsoNormal">> * Someone wrote:<br>> "I understand that if you play a Microsoft Windows CD backwards you hear strange Satanic messages"<br>><u></u><u></u></p></div><p class="MsoNormal">
> To which someone replied:* *<u></u><u></u></p><div><p class="MsoNormal">> "It's even worse than that; play it forwards and it installs Windows Vista !"<u></u><u></u></p></div><p class="MsoNormal">> _________________________________________________________________________________*<br>
><br>><br>><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'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>
* ... "Are you sure?" ... YES ... Phew ... I'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>"I understand that if you play a Microsoft Windows CD backwards you hear strange Satanic messages"<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)">"It's even worse than that; play it forwards and it installs Windows Vista !"<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>"I understand that if you play a Microsoft Windows CD backwards you hear strange Satanic messages"<br><br>To which someone replied:</span></b><span style="color:rgb(136,136,136)"> </span><b><span style><br>
"It's even worse than that; play it forwards and it installs Windows Vista !"<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>"I understand that if you play a Microsoft Windows CD backwards you hear strange Satanic messages"<br><br>To which someone replied:</b>
<b style="color:rgb(0,0,0)"><br>"It's even worse than that; play it forwards and it installs Windows Vista !"<br>_________________________________________________________________________________</b><br><span></span></div>
</font><br>