Does <a href="mailto:user1@domain.com">user1@domain.com</a> sending internally to <a href="http://domain.com">domain.com</a> go via MS at all???<br><br>Are there any MS email headers in the message when recieved to show that MS has indeed scanned it?<br>
<br>Have you got anything in the &quot;Scan Messages&quot; messages if its from and to <a href="http://domain.com">domain.com</a> and from an internal address that says don&#39;t scan the email?<br><br><br clear="all">-- <br>
Martin Hepworth<br>Oxford, UK<br>
<br><br><div class="gmail_quote">On 22 September 2010 15:52, Jason Voorhees <span dir="ltr">&lt;<a href="mailto:jvoorhees1@gmail.com">jvoorhees1@gmail.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;">
Hi people:<br>
<br>
I&#39;m using MailScanner 4.79.11 on RHEL 5.4 x86_64 with a setting like this:<br>
<br>
Maximum Message Size = %rules-dir%/max.message.size.rules<br>
Maximum Attachment Size = -1<br>
<br>
My max.message.size.rules look like this:<br>
<br>
From: <a href="mailto:user1@domain.com">user1@domain.com</a> 1M<br>
From: <a href="mailto:user2@domain.com">user2@domain.com</a> 2M<br>
From: <a href="mailto:user3@domain.com">user3@domain.com</a> 4M<br>
From: *@<a href="http://domain.com" target="_blank">domain.com</a> 512K<br>
To: *@<a href="http://domain.com" target="_blank">domain.com</a> 2M<br>
FromOrTo: default 0<br>
<br>
According to this I&#39;m having some issues with rules not working as<br>
expected so I have some questions:<br>
<br>
1. &quot;Maximum Message Size&quot; evals the size of a whole message including<br>
all its attachments, right?.<br>
<br>
2. If I have &quot;Maximum Mesage Size&quot; and &quot;Maximum Attachment Size&quot;<br>
configured as shown above, what should be the behavior among those two<br>
directives? Is &quot;Maximum Message Size&quot; which dictates the control of<br>
size of messages? Or are those rules ignored because of the unlimited<br>
value (-1) of &quot;Maximum Attachment Size&quot;? Or maybe &quot;Maximum Attachment<br>
Size&quot; is just ignored?<br>
<br>
3. Rules of max.message.size.rules are evaluated like Firewall rules<br>
or Squid ACLs? I mean, i want to know if MailScanner matches a message<br>
with a rule (From: <a href="mailto:user1@domain.com">user1@domain.com</a> 1M) at line 3 then MS stop reading<br>
next lines? Does MS always read all lines and matches with the last<br>
rule found/matching?<br>
<br>
I&#39;m asking this because I noted that MS isn&#39;t working properly:<br>
<br>
1. <a href="mailto:user1@domain.com">user1@domain.com</a> sends a message to <a href="mailto:user7@domain.com">user7@domain.com</a> (not in rules<br>
file, so defaults to *@<a href="http://domain.com" target="_blank">domain.com</a> 2M) of 1.8 MB and MS doesn&#39;t block<br>
it, it just let it pass. Didn&#39;t work as expected.<br>
2. <a href="mailto:user1@domain.com">user1@domain.com</a> sends a message to <a href="mailto:user7@domain.com">user7@domain.com</a> (not in rules<br>
file, so defaults to *@<a href="http://domain.com" target="_blank">domain.com</a> 2M) of 4.5 MB and MS doesn&#39;t block<br>
it, it just let it pass. Didn&#39;t work as expected.<br>
3. <a href="mailto:user1@domain.com">user1@domain.com</a> sends a message to <a href="mailto:user7@domain.com">user7@domain.com</a> (not in rules<br>
file, so defaults to *@<a href="http://domain.com" target="_blank">domain.com</a> 2M) of 1.9 MB and MS does block it<br>
and send a warning message as expected.<br>
<br>
I just found a person on Internet with a similar problem with MS<br>
4.79.11 and according to him the solution was to downgrade to MS 4.72.<br>
The link of this report (sorry, is in spanish) is:<br>
<br>
<a href="http://www.ecualug.org/2010/06/02/forums/problema_con_mailscanner_en_parametro_maxmessagesizerules" target="_blank">http://www.ecualug.org/2010/06/02/forums/problema_con_mailscanner_en_parametro_maxmessagesizerules</a><br>

<br>
Is any bug related to this settings in MS 4.79.11? I checked the<br>
Changelog of MS 4.81 (beta and stable) but didn&#39;t find anything<br>
related to this.<br>
<br>
I hope someone can help me because I don&#39;t really know what&#39;s the<br>
problem with my MS installation.<br>
<br>
Thanks<br>
<font color="#888888">--<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>
</font></blockquote></div><br>