From owner-freebsd-questions Sun Jun 16 13:33:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from out5.mx.nwbl.wi.voyager.net (out5.mx.nwbl.wi.voyager.net [169.207.3.123]) by hub.freebsd.org (Postfix) with ESMTP id 0AD8837B40D for ; Sun, 16 Jun 2002 13:33:53 -0700 (PDT) Received: from shell.core.com (shell.core.com [169.207.1.89]) by out5.mx.nwbl.wi.voyager.net (8.12.3/8.11.4/1.7) with ESMTP id g5GKXqYC022243 for ; Sun, 16 Jun 2002 15:33:52 -0500 Received: from localhost (raiden@localhost) by shell.core.com (8.11.6/8.11.6/1.3) with ESMTP id g5GKXqu22942 for ; Sun, 16 Jun 2002 15:33:52 -0500 (CDT) Date: Sun, 16 Jun 2002 15:33:51 -0500 (CDT) From: Steven Lake X-X-Sender: raiden@shell.core.com To: freebsd-questions@FreeBSD.ORG Subject: Determining # of mail's per user Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message