From owner-freebsd-current Tue Jun 11 14:41:14 2002 Delivered-To: freebsd-current@freebsd.org Received: from krusty.oanet.com (krusty.oanet.com [204.209.13.17]) by hub.freebsd.org (Postfix) with ESMTP id 0366737B42F for ; Tue, 11 Jun 2002 14:40:56 -0700 (PDT) Received: from mail.oanet.com (mars.oanet.com [204.209.13.52]) by krusty.oanet.com (8.11.6/8.11.6) with ESMTP id g5BLeUu90050 for ; Tue, 11 Jun 2002 15:40:30 -0600 (MDT) (envelope-from pputh@oanet.com) Received: from PaulP.oanet.com (firewall.oanet.com [204.209.13.50]) by mail.oanet.com (8.11.5/8.11.5) with ESMTP id g5BLes726789 for ; Tue, 11 Jun 2002 15:40:54 -0600 Message-Id: <5.1.0.14.0.20020611154229.00a8e1e8@pop.oanet.com> X-Sender: pputh@pop.oanet.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 11 Jun 2002 15:45:08 -0600 To: freebsd-current@FreeBSD.ORG From: "Paul S. Puth" Subject: Re: looking for warn quota tools In-Reply-To: References: <5.1.0.14.0.20020611152151.00acbb30@pop.oanet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thank for the quick response, Robert. I fail to mention that this machine is strictly a mail server with over 10K+ accounts. Users cannot log into their shell account and they check email via POP/IMAP only. At 05:31 PM 6/11/2002 -0400, Robert Watson wrote: >I always just used the following script in the /etc/csh.login: > >#if ("`quota | grep '\*'`" != "") then ># echo Warning: Quota Exceeded: ># quota >#endif > >Given that the output of the quota command is fairly parseable, a little >bit of scripting or perl should do the trick. > >Robert N M Watson FreeBSD Core Team, TrustedBSD Projects >robert@fledge.watson.org Network Associates Laboratories > >On Tue, 11 Jun 2002, Paul S. Puth wrote: > > > Hi, > > > > I am looking for a tool that will email to the user if his/her account > > (more specifically email box) is approaching quota limit. I've searched > > everywhere for such a tool but to no avail. > > > > On Linux, there is a tool called "warnquota" that fits my need but I am > > running FreeBSD 4.5 -RELEASE so I can't utilize that tool. Also, from > > searching on google, I've found a tool called "psntools" that has the > > warnquota feature but it doesn't work on a filesystem that has a mailspool. > > > > Can someone help me? > > > > Thanks, > > > > Paul > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-current" in the body of the message > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message