Re: Mail Restrictions with sendmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




I will have to edit /etc/fstab . I will have to add usrquota,grpquota


Good research.



Now, my question is to which partition should I have to add usrquota,grpquota.


Is it to /var partion should I have to add quota as All incoming mail will be stored as /var/spool/mail/username

According to your list of filesystems below, yes, /var definitely needs quota turned on.


or

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

Only if you intend to lump both mailbox quota and home directory quota together. If you need to enable separate quotas for these...you need another solution. If you do not need quotas for anything but mail, just turn on quotas for /var.


to create account I use traditional useradd command as follows.
useradd username

my partion table of the hard disk is as follows. /var and /home partion are marked in BOLD letters.
pls see below

[root@mailgw ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2              39G  1.6G   35G   5% /
/dev/sda1             2.9G   53M  2.7G   2% /boot
none                  251M     0  251M   0% /dev/shm
/dev/sda5              39G  201M   37G   1% /home
/dev/sda7             6.8G  2.4G  4.1G  38% /opt
/dev/sda6             6.8G   48M  6.4G   1% /tmp
/dev/sda8              52G  1.4G   48G   3% /var

YOUR comments are welcome .
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux