From owner-freebsd-questions Sun Jun 16 13:37:13 2002 Delivered-To: freebsd-questions@freebsd.org Received: from lerlaptop.lerctr.org (lerlaptop.lerctr.org [207.158.72.14]) by hub.freebsd.org (Postfix) with ESMTP id 4C84A37B411 for ; Sun, 16 Jun 2002 13:37:03 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by lerlaptop (8.12.3/8.12.3) with ESMTP id g5GKaaqu027878; Sun, 16 Jun 2002 15:36:36 -0500 (CDT) (envelope-from ler@lerctr.org) Subject: Re: Determining # of mail's per user From: Larry Rosenman To: Steven Lake Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.7 Date: 16 Jun 2002 15:36:36 -0500 Message-Id: <1024259796.350.0.camel@lerlaptop> Mime-Version: 1.0 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 2002-06-16 at 15:33, Steven Lake wrote: > What's the easiest way to determin how many emails a given user > has on the mail server? I need to generate a list of how many emails and > how much space each mail file is taking up per user. I'm having a space > problem on one of the mail servers and I want to create a simple formatted > output that I can put into a spreadsheet program and view who are the > biggest offenders. I could do it by mail file sizes, but to the less > experienced telling them they have 150 megs of email on the server doesn't > make as big an impact as saying they have 25,000 emails just sitting there > idle and taking up space. Plus it gives me some tangeble numbers to put > in the records. > > There's also the fact that some users recieve large files on a > regular basis but are good about checking their mail and cleaning it out > regularly, so I don't want to punish them while punishing the true > offenders. Anyone got any good suggestions for me? would procmail's formail help any? > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message