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 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><br><div class="gmail_quote">On Mon, Aug 27, 2012 at 8:34 PM, Joolee <span dir="ltr"><<a href="mailto:mailscanner@joolee.nl" target="_blank">mailscanner@joolee.nl</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">What is the contents of your (archive).filename/filetype.rules.conf ? And do you reference these files from your 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>
<br><div class="gmail_quote"><div><div class="h5">On 27 August 2012 15:55, Ryan Braganza <span dir="ltr"><<a href="mailto:ryan.virgo@gmail.com" target="_blank">ryan.virgo@gmail.com</a>></span> wrote:<br></div></div>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="h5">
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 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<span><font color="#888888"><br><br><br>
<br clear="all"><br>-- <br><font color="#888888"><div style="text-align:center">
<div style="text-align:center"><b>_________________________________________________________________________________<br></b></div><b> 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><br>"It's even worse than that; play it forwards and it installs Windows Vista !"<br>_________________________________________________________________________________</b><br><span></span></div>
</font><br>
</font></span><br></div></div><span class="HOEnZb"><font color="#888888">--<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!<br>
<br></font></span></blockquote></div><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>
<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>