ruleset on MaxAttachmentSize should do it<br><br><a href="http://www.mailscanner.info/MailScanner.conf.index.html#Maximum%20Attachment%20Size">http://www.mailscanner.info/MailScanner.conf.index.html#Maximum%20Attachment%20Size</a><br>
<br> is MailScanner isn&#39;t on the same host as the mailserver or a separate gateway machine and if on gateway I presume it scans email on the way out as well as on the way in?<br><br clear="all">-- <br>Martin Hepworth<br>
Oxford, UK<br>
<br><br><div class="gmail_quote">On 5 May 2011 07:16, kunal verma <span dir="ltr">&lt;<a href="mailto:kunal.gurukul@gmail.com">kunal.gurukul@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Dear Sir,<div><br></div><div>I want to configure MailScanner  to block attachment on <b>User basis</b>.</div><div>All users may be able to send attachment in their mail for <b>local domain</b>. </div><div>Only a list of few Users may be allowed send attachment to <b>local domain</b> as well as <b>outside domain,</b></div>

<div>rest all users are blocked from sending attachment to <b>outside domain</b>.</div><div><br></div><div>How this can be achieved? Please let me know if it is possible.</div><div><br></div><font color="#888888"><div><br>
</div><div>Kunal Verma<br>
<div><br></div></div>
</font><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>