From owner-freebsd-questions Thu Feb 10 11:44:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from unix.megared.net.mx (megamail.megared.com.mx [207.249.162.252]) by builder.freebsd.org (Postfix) with ESMTP id 9C2C64519 for ; Thu, 10 Feb 2000 11:44:28 -0800 (PST) Received: from ales (ales.megared.net.mx [207.249.163.251]) by unix.megared.net.mx (8.9.3/8.9.3) with SMTP id NAA15161; Thu, 10 Feb 2000 13:38:59 -0600 (CST) (envelope-from ales@yahoo.com) Message-ID: <002c01bf73fe$f1317160$020a0a0a@megared.net.mx> From: "Alejandro Ramirez" To: "eve" , References: <00d601bf73fc$68cd48a0$0200000a@petra> Subject: RE: Disk quota exceeded - but still accepts mail for Date: Thu, 10 Feb 2000 13:41:48 -0600 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 To: 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