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.<br>
<br>
<div class="gmail_quote">On 28 August 2012 09:55, Paul Bijnens <span dir="ltr"><<a href="mailto:Paul.Bijnens@xplanation.com" target="_blank">Paul.Bijnens@xplanation.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Is the setting "Max Spam Check Size" maybe excluding your large exe-inside-zip to be slipping through the fishing net?<br>
<div class="im"><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>
><br>
</div><div class="im">> On Mon, Aug 27, 2012 at 8:34 PM, Joolee <<a href="mailto:mailscanner@joolee.nl">mailscanner@joolee.nl</a> <mailto:<a href="mailto:mailscanner@joolee.nl">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>
><br>
</div><div class="im">> On 27 August 2012 15:55, Ryan Braganza <<a href="mailto:ryan.virgo@gmail.com">ryan.virgo@gmail.com</a> <mailto:<a href="mailto:ryan.virgo@gmail.com">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>
> --<br>
</div>> *_________________________________________________________________________________<br>
> *<br>
<div class="im">> * Someone wrote:<br>
> "I understand that if you play a Microsoft Windows CD backwards you hear strange Satanic messages"<br>
><br>
</div>> To which someone replied:* *<br>
<div class="im">> "It's even worse than that; play it forwards and it installs Windows Vista !"<br>
</div>> _________________________________________________________________________________*<br>
><br>
><br>
> --<br>
> MailScanner mailing list<br>
> <a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a> <mailto:<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a>><br>
<div class="im">> <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<br>
</div>> <a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a> <mailto:<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a>><br>
<div class="im">> <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>
> --<br>
</div>> *_________________________________________________________________________________<br>
> *<br>
<div class="im">> * Someone wrote:<br>
> "I understand that if you play a Microsoft Windows CD backwards you hear strange Satanic messages"<br>
><br>
</div>> To which someone replied:* *<br>
<div class="im">> "It's even worse than that; play it forwards and it installs Windows Vista !"<br>
</div>> _________________________________________________________________________________*<br>
><br>
><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Paul Bijnens, Xplanation Tel <a href="tel:%2B32%2016%20397.525" value="+3216397525">+32 16 397.525</a><br>
Interleuvenlaan 86, B-3001 Leuven, BELGIUM Fax <a href="tel:%2B32%2016%20397.552" value="+3216397552">+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>
***********************************************************************<br>
</font></span><div class="HOEnZb"><div class="h5">--<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>