Re: Mail Restrictions with sendmail

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





On 8/15/07, Feizhou <feizhou@xxxxxxxxxxxx> wrote:
>
> >      >
> >      > And also enabling quota.
> >      >
> >      > What is the best way to add quota?
> >      >
> >
> >     Filesystem quotas?
> >
> >
> > quotas to limit the mailbox size
> >
> > e.g
> > /var/spool/mail/username
> > *
> > *
> >
>
> I thought you might be using mbox...so...will filesystem quotas do it
> for you then? If it will, just enable filesystem quotas and the system
> will start limiting how large the mbox files can get. man edquota,
> quota, ...


Thanks for your info. quota RPM has been instaled by the default instalation.

Pls see below.

[root@mailgw ~]# rpm -qa |grep quota
quota-3.12-5

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


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

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

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
>


--
Thank you
Indunil Jayasooriya

_______________________________________________
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