From owner-freebsd-isp@FreeBSD.ORG Tue May 27 07:55:45 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C28137B404 for ; Tue, 27 May 2003 07:55:45 -0700 (PDT) Received: from accounts.amigo.net (smtp.amigo.net [209.94.64.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1401C43F3F for ; Tue, 27 May 2003 07:55:44 -0700 (PDT) (envelope-from randys@amigo.net) Received: from stalker.amigo.net ([209.94.67.250]) by accounts.amigo.net with esmtp; Tue, 27 May 2003 08:55:43 -0600 Date: Tue, 27 May 2003 08:57:04 -0600 (MDT) From: Randy Smith X-X-Sender: randy@stalker.amigo.net To: ODHIAMBO Washington In-Reply-To: <20030523161900.GA12569@ns2.wananchi.com> Message-ID: <20030527085232.S1529-100000@stalker.amigo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: "freebsd-isp@freebsd.org" Subject: Re: Expiring old mail in Maildir/ X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2003 14:55:45 -0000 On Fri, 23 May 2003, ODHIAMBO Washington wrote: > Date: Fri, 23 May 2003 19:19:00 +0300 > From: ODHIAMBO Washington > To: "freebsd-isp@freebsd.org" > Subject: Expiring old mail in Maildir/ > > > Hiya ISP Admins, > > > Apart from using `find`, I am wondering if someone already owns the wheel > that can expire mail older than N number of days from users Maildir. > I used to use one by Phil Male of Information Systems Engineering Group > which was well adapted for mbox-type mailboxes, but now I have changed to > Maildir/ > > Thanks in advance for any pointers. > > > -Wash > > I wrote a script to clean out users' Spam folders. You can find it here: http://perlstalker.amigo.net/courier/scripts/clean-spam.txt You will need to modify it a little bit so that it looks in the right place, but it's a simple enough script. -- Randy Smith Amigo.Net Systems Administrator 1-719-589-6100 x 4185 http://www.amigo.net/