Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Feb 2000 13:41:48 -0600
From:      "Alejandro Ramirez" <ales@yahoo.com>
To:        "eve" <eva@siol.net>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Disk quota exceeded - but still accepts mail for 
Message-ID:  <002c01bf73fe$f1317160$020a0a0a@megared.net.mx>
References:  <00d601bf73fc$68cd48a0$0200000a@petra>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Eve,

    The local mailer doesnt respect user quotas, try installing procmail
/usr/local/mail/procmail, and rebuild your sendmail.cf file from your
sendmail.mc file with the following option:

Add this Line
FEATURE(local_procmail)

Remove this Line
MAILER(local)dnl

Have Fun...
Ales

----- Original Message -----
From: eve <eva@siol.net>
To: <freebsd-questions@FreeBSD.ORG>
Sent: Thursday, February 10, 2000 1:24 PM
Subject: Disk quota exceeded - but still accepts mail for


> Hello!
>
> I followed FreeBSD's Handbook and configured new kernel with "options
QUOTA"
> defined in it. Then I put:
>
> - in file /etc/rc.conf:
> #quotas
> enable_quotas="YES"
> check_quotas="YES"
>
> - in file /etc/fstab:
> /dev/wd0s1e             /usr            ufs     rw,userquota,groupquota
> 2       2
> /dev/wd0s1f             /var            ufs     rw,userquota,groupquota
> 2       2
>
> #edquota -u test
> Quotas for user test:
> /usr: blocks in use: 22, limits (soft = 0, hard = 0)
>         inodes in use: 22, limits (soft = 0, hard = 0)
> /var: blocks in use: 0, limits (soft = 50, hard = 70)
>         inodes in use: 1, limits (soft = 0, hard = 0)
>
> # quota -v test
> Disk quotas for user test (uid 1002):
>      Filesystem  blocks   quota   limit   grace   files   quota   limit
> grace
>            /usr      22       0       0              22       0       0
>            /var     440*     50      70   7days       1       0       0
>
> I see it "complains" with an asterix that hard limit is exceeded, but how
> come that it still accepts mail for this user (/var/mail)? If I want to
copy
> anything larger then hard quota defined - for example to /var/* as this
> user, it says:
>
> /var: warning, user disk quota exceeded
>
> /var: write failed, user disk limit reached
> cp: /var/mail/test: Disc quota exceeded
>
> I'm running FreeBSD xxx.domain.tld 3.4-STABLE FreeBSD 3.4-STABLE #0: Wed
Feb
> 2 18:55:19 CET
>  2000     root@xxx.domain.tld:/usr/src/sys/compile/OBUTI  i386
>
> Thanks for any help!!
> eve
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002c01bf73fe$f1317160$020a0a0a>