Hello Martin,<br>is there something else that I need to tweak in MS?<br><br>Thanks in advance.<br><br><div class="gmail_quote">On Wed, Apr 18, 2012 at 7:03 AM, Sergio <span dir="ltr"><<a href="mailto:secmas@gmail.com">secmas@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you Martin for answering back, this is what I have on both rules:<br><br>max.message.size.rules:<br>FromOrTo: default 15M<br>
<br>max.attach.size.rules:<br>FromOrTo: default 15M<br><br>Regards,<br><br>
Sergio<br><br><div class="gmail_quote"><div><div class="h5">On Tue, Apr 17, 2012 at 11:26 PM, Martin Hepworth <span dir="ltr"><<a href="mailto:maxsec@gmail.com" target="_blank">maxsec@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
What are the content of the rules files used for max message and attachment size ?<div><br></div><div>Martin<div><div><span></span><br><br>On Tuesday, 17 April 2012, Sergio wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello all,<br>what is the best way to tweak MS to not check or scan for attachments larger than 1MB but that could delete messages with attachments larger than 15MB?<br><br>I have already set the following settings, but when an email larger thatn 30MB enters, the load on the server goes high and the deliver is stopped until the message has been scanned:<br>
<br>- <b>Gunzip Command: /bin/gunzip<br>- </b><b>Gunzip Timeout: 50<br>- </b><b>Unrar Command: {blank}<br>- </b><b>Unrar Timeout: 0<br>- </b><b>Maximum Message Size: %rules-dir%/max.message.size.rules<br>- </b><b>Maximum Attachment Size: %rules-dir%/max.attach.size.rules<br>
- </b><b>Minimum Attachment Size: -1<br>- </b><b>Maximum Archive Depth: 0<br>- </b><b>Virus Scanners: clamd<br>- </b><b>Virus Scanner Timeout: 60<br>- </b><b>ClamAVmodule Maximum Recursion Level: 8<br>- </b><b>ClamAVmodule Maximum Files: 1000<br>
- </b><b>ClamAVmodule Maximum File Size: 1000000 # (1 Mbytes)<br>- </b><b>ClamAVmodule Maximum Compression Ratio: 250<br>- </b><b>Clamd Use Threads: yes</b><br><b>- </b><b>ClamAV Full Message Scan: no<br>- </b><b>Max Spam Check Size: 200K<br>
- </b><b>Max SpamAssassin Size: 200K<br>- </b><b>SpamAssassin Timeout: 75<br>- </b><b>Max SpamAssassin Timeouts: 10<br><br>I think all this commands are relevant to what I want to accomplish, if I need another one, please tell me and if this commands needs to be fixed, please tell me as well.<br>
<br>Your help is appreciated.<br><br>Regards,<br><br>Sergio<br></b><b><br><br></b>
</blockquote></div></div></div><span><font color="#888888"><br><br>-- <br>-- <br>Martin Hepworth<br>Oxford, UK<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>
</blockquote></div><br>