Hi, <br><br>Thanks once again, <br><br>ONE MORE THING IS NEEDED. <br><br>I want to limit mail sizes for both incoming and outgoing mails. <br><br>Let's say <br><br><a href="mailto:userx@example.com">userx@example.com</a>
 can send mails up to 5MB, but can receive up to 2MB<br><br><a href="mailto:usery@example.com">usery@example.com</a> can send and receive mails up to 5MB. <br><br>All the other users can send mails as usual (i.e - without restrictions)
<br><br><br>Can procmail do it? (i-e- /etc/procmailrc  - system wide configuration)<br><br>pls let me know? <br><br><br><br><br><br><br><div><span class="gmail_quote">On 8/16/07, <b class="gmail_sendername">Feizhou</b> <
<a href="mailto:feizhou@graffiti.net">feizhou@graffiti.net</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;"><br>> I will have to edit /etc/fstab . I will have to add usrquota,grpquota
<br>><br><br>Good research.<br><br>><br>><br>> Now, my question is to which partition should I have to add<br>> usrquota,grpquota.<br>><br>><br>> Is it to /var partion should I have to add quota as All incoming mail
<br>> will be stored as  /var/spool/mail/username<br><br>According to your list of filesystems below, yes, /var definitely needs<br>quota turned on.<br><br>><br>> or<br>><br>> Is it to /home partion should I have to add quota as All users are
<br>> system users ( i.e- /etc/passwd, /etc/shadow and /etc/group<br><br>Only if you intend to lump both mailbox quota and home directory quota<br>together. If you need to enable separate quotas for these...you need<br>
another solution. If you do not need quotas for anything but mail, just<br>turn on quotas for /var.<br><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
<br>> 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>> /dev/sda5              39G  201M   37G   1% /home<br>> /dev/sda7             6.8G  2.4G  4.1G  38% /opt<br>> /dev/sda6             
6.8G   48M  6.4G   1% /tmp<br>> /dev/sda8              52G  1.4G   48G   3% /var<br>><br>> YOUR comments are welcome .<br></blockquote></div><br><br clear="all"><br>-- <br>Thank you<br>Indunil Jayasooriya<br>