From owner-freebsd-isp Tue Apr 14 16:57:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA22152 for freebsd-isp-outgoing; Tue, 14 Apr 1998 16:57:56 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from mrtg.senet.com.au (mrtg.senet.com.au [203.56.239.25]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA22103 for ; Tue, 14 Apr 1998 23:57:52 GMT (envelope-from chris@senet.com.au) Received: from mrtg.senet.com.au (mrtg.senet.com.au [203.56.239.25]) by mrtg.senet.com.au (8.8.8/8.8.8) with SMTP id JAA16472; Wed, 15 Apr 1998 09:27:24 +0930 (CST) Date: Wed, 15 Apr 1998 09:27:24 +0930 (CST) From: Chris Foote To: Oliver von Bueren cc: isp@FreeBSD.ORG Subject: Re: User Mailbox Maintenance In-Reply-To: <3536b759.106395728@mail.ovb.ch> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 14 Apr 1998, Oliver von Bueren wrote: > Has anybody a tool for maintaining user mailboxes which become too > big? Something like: Delete everything thats older than... > > Should be configurable to select which mailboxes to work on and how > long of course. I wrote a Perl script to do this a while ago - it purges mail over a given age for usernames given as arguments. It does, however, defintely require GNU date to be installed on your system, as I used it to do the date conversions. You're welcome to use it, and perhaps improve it :-) ftp://frog.senet.com.au/pub/zap-old-mail Cheers, Chris Foote SE Net Technical Manager 222 Grote Street SE Network Access Adelaide SA 5000 e-mail chris@senet.com.au Australia phone : (08) 8221 5221 PGP Public Key available from fax: (08) 8221 5220 http://www.senet.com.au/PGP support: (08) 8221 5792 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message