read up using rulesets in the wiki and examples/doc directories. It&#39;s quite easy.<br><br clear="all">-- <br>Martin Hepworth<br>Oxford, UK<br>
<br><br><div class="gmail_quote">On 5 May 2011 10:41, 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;">
MailScanner is on the same host as the mailserver. I m using sendmail8.13.8 as MTA. I send the mails destined to <b>outside domain</b> using UUCP to to <b>mail gateway </b>. the mail gateway then relays the mails destined to  <b>outside domain</b>.<div>

Please give me an example configuration to block attachments on user basis for outside domains.</div><div><br></div><div><font color="#888888">Kunal Verma</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">
On Thu, May 5, 2011 at 2:17 AM, Martin Hepworth <span dir="ltr">&lt;<a href="mailto:maxsec@gmail.com" target="_blank">maxsec@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">ruleset on MaxAttachmentSize should do it<br><br><a href="http://www.mailscanner.info/MailScanner.conf.index.html#Maximum%20Attachment%20Size" target="_blank">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"><div><div></div><div>On 5 May 2011 07:16, kunal verma <span dir="ltr">&lt;<a href="mailto:kunal.gurukul@gmail.com" target="_blank">kunal.gurukul@gmail.com</a>&gt;</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></div><div>
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></div></div>--<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></blockquote></div><br>
<br>--<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></blockquote></div><br></div></div></div>
<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>