From owner-freebsd-isp Mon Oct 26 16:54:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA16461 for freebsd-isp-outgoing; Mon, 26 Oct 1998 16:54:12 -0800 (PST) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from techbsd.csw.net (techbsd.csw.net [209.136.194.169]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA16455 for ; Mon, 26 Oct 1998 16:54:07 -0800 (PST) (envelope-from lambert@techbsd.csw.net) Received: (from lambert@localhost) by techbsd.csw.net (8.9.1/8.9.1) id SAA00399 for freebsd-isp@freebsd.org; Mon, 26 Oct 1998 18:52:29 -0600 (CST) (envelope-from lambert) Message-ID: <19981026185229.A386@csw.net> Date: Mon, 26 Oct 1998 18:52:29 -0600 From: Scott Lambert To: freebsd-isp@FreeBSD.ORG Subject: Expiring old mail? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I recently ran into a problem with my mail server. The /var/mail disk filled up. (not good) Anyway after several hours of "mail -f username" and deleting 7 month-old un- read messages and > 1 month-old read messages, I freed up approximately 700MB of disk. (Why do people subscribe to every mailing list on the planet and not read their mail?) We have approximately 9,000 e-mail accounts on our mail server. Is there an "expire" like tool for the mail spool files? I would like to be able to setup rules such as "any un-read mail more than 2 months old gets deleted" and "any read mail more than 1 month old gets deleted." That should give our users enough time to get their mail onto all the machines they may want. It will also allow someone to be out of town for up to 7 weeks without losing any e-mail. Perhaps unread of 3.5 months would be better to allow for summer vacation. Thanks for any suggestions, Scott Lambert Mail, News, and Shell Administrator To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message