If I am not wrong I think you need know the attachment size when you receive a message, because the message size sent to your mailbox as one file and one size not each one apart size. <br><br>To limit file size for your users when they want send message... Sorry I do not know.
<br><br><div><span class="gmail_quote">On 8/30/07, <b class="gmail_sendername">Gunawan</b> <<a href="mailto:jgun98.milis@gmail.com">jgun98.milis@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">






<div bgcolor="#ffffff">
<div><font face="Arial" size="2">Hi Waleed Harbi,</font></div>
<div><font face="Arial" size="2">Thank you for your update.</font></div>
<div><font face="Arial" size="2">But the articles only discuss about message size 
limit.</font></div>
<div><font face="Arial" size="2">What I would try to do is set different size for 
outgoing and incoming mail.</font></div>
<div><font face="Arial" size="2">For example I can received e-mail that have 
attachment up to 2 MB.</font></div>
<div><font face="Arial" size="2">but only can send wiht attachment up to 1 
MB.</font></div>
<div> </div>
<div><font face="Arial" size="2">Regards,</font></div>
<div><font face="Arial" size="2">Gun</font></div>
<div><font face="Arial" size="2"></font> </div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"><div><span class="e" id="q_114b63380a659d86_1">
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
  <div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b> 
  <a title="waleed.harbi@gmail.com" href="mailto:waleed.harbi@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Waleed 
  Harbi</a> </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="ubuntu-users@lists.ubuntu.com" href="mailto:ubuntu-users@lists.ubuntu.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Ubuntu user technical support,not 
  for general discussions</a> </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Thursday, August 30, 2007 11:41 
  AM</div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> Re: Postfix</div>
  <div><br></div>Hello,<br><br>Please check to these links:<br><br><a href="http://muhdzamri.blogspot.com/2007/02/postfix-mailbox-size-limit-and-message.html+" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://muhdzamri.blogspot.com/2007/02/postfix-mailbox-size-limit-and-message.html 
  </a><br><a href="http://www.cyberciti.biz/tips/postfix-mail-server-limit-the-mailbox-size.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.cyberciti.biz/tips/postfix-mail-server-limit-the-mailbox-size.html
</a><br><a href="http://www.postfix.org/resource.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.postfix.org/resource.html</a><br><br>
  <div><span class="gmail_quote">On 8/30/07, <b class="gmail_sendername">Gunawan</b> 
  <<a href="mailto:jgun98.milis@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jgun98.milis@gmail.com</a>> 
  wrote:</span>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi 
    All,<br>I have a question.<br>How can I  set e-mail 
    restriction.<br>I would like to have user can receive e-mail which have size 
    up to 2 MB but<br>user can only send up to 1 MB.<br>I am using 
    postfix.<br>TIA,<br>Gun<br><br><br>--<br>ubuntu-users mailing list<br><a href="mailto:ubuntu-users@lists.ubuntu.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ubuntu-users@lists.ubuntu.com
</a><br>Modify 
    settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
</a><br></blockquote></div><br><br clear="all"><br>-- <br>:. Best Wishes<br>:. Waleed Harbi 
  <br>---------------------------------------------<br>:. Never too old to learn 
  <br>:. Every why has a wherefore<br>:. Grasp all, lose all 
  </span></div><p>
  </p><hr>

  <p></p>-- <span class="q"><br>ubuntu-users mailing 
  list<br><a href="mailto:ubuntu-users@lists.ubuntu.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ubuntu-users@lists.ubuntu.com</a><br>Modify settings or unsubscribe at: 
  <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br></span><p></p></blockquote>
</div>
<br>--<br>ubuntu-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>Modify settings or unsubscribe at: <a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>:. Best Wishes<br>:. Waleed Harbi <br>---------------------------------------------<br>:. Never too old to learn
<br>:. Every why has a wherefore<br>:. Grasp all, lose all