<br><br>On 8/15/07, Feizhou <<a href="mailto:feizhou@graffiti.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">feizhou@graffiti.net</a>> wrote:<br>> <br>> > ><br>> > > And also enabling quota.
<br>> > ><br>> > > What is the best way to add quota?
<br>> > ><br>> ><br>> > Filesystem quotas?<br>> ><br>> ><br>> > quotas to limit the mailbox size<br>> ><br>> > e.g<br>> > /var/spool/mail/username<br>> > *
<br>> > *<br>> ><br>> <br>> I thought you might be using mbox...so...will filesystem quotas do it<br>> for you then? If it will, just enable filesystem quotas and the system<br>> will start limiting how large the mbox files can get. man edquota,
<br>> quota, ...<br><br><br>Thanks for your info. quota RPM has been instaled by the default instalation. <br><br>Pls see below. <br><br>[root@mailgw ~]# rpm -qa |grep quota<br>quota-3.12-5<br><br>I will have to edit /etc/fstab . I will have to add usrquota,grpquota
<br><pre><br></pre>
<pre><br></pre>Now, my question is to which partition should I have to add usrquota,grpquota.
<br><br><br>Is it to /var partion should I have to add quota as All incoming mail will be stored as /var/spool/mail/username<br><br>or <br><br>Is it to /home partion should I have to add quota as All users are system users (
i.e- /etc/passwd, /etc/shadow and /etc/group <br><br>to create account I use traditional useradd command as follows.<br>useradd username<br><br>my partion table of the hard disk is as follows. /var and /home partion are marked in BOLD letters.
<br>pls see below<br><br>[root@mailgw ~]# df -h<br>Filesystem Size Used Avail Use% Mounted on<br>/dev/sda2 39G 1.6G 35G 5% /<br>/dev/sda1 2.9G 53M 2.7G 2% /boot<br>none 251M 0 251M 0% /dev/shm
<br><span style="font-weight: bold;">/dev/sda5 39G 201M 37G 1% /home</span><br>/dev/sda7 6.8G 2.4G 4.1G 38% /opt<br>/dev/sda6 6.8G 48M 6.4G 1% /tmp<br><span style="font-weight: bold;">
/dev/sda8 52G 1.4G 48G 3% /var</span><br><br>YOUR comments are welcome .<br><br> <br><br>> _______________________________________________<br>> CentOS mailing list<br>> <a href="mailto:CentOS@centos.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
CentOS@centos.org
</a><br>> <a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.centos.org/mailman/listinfo/centos</a><br>> <br><br><br>-- <br>
Thank you<br>Indunil Jayasooriya<br><br>