From owner-freebsd-questions Wed May 15 8: 2:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from uk2.kanda-systems.net (uk2.kanda-systems.net [193.195.117.202]) by hub.freebsd.org (Postfix) with ESMTP id 1240937B401 for ; Wed, 15 May 2002 08:02:04 -0700 (PDT) Received: by uk2.kanda-systems.net (Postfix, from userid 1001) id 013143C42D; Wed, 15 May 2002 16:03:23 +0100 (BST) Date: Wed, 15 May 2002 16:03:23 +0100 From: Jason Taylor To: freebsd-questions@freebsd.org Subject: Re: Zapping Email Box Message-ID: <20020515150323.GC6657@uk2.kanda-systems.net> Reply-To: Jason Taylor Mail-Followup-To: Jason Taylor , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.99i 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 Forgot to cc to list. Sorry. Jason ----- Forwarded message from Jason Taylor ----- Date: Wed, 15 May 2002 16:00:01 +0100 From: Jason Taylor To: "Jack L. Stone" Subject: Re: Zapping Email Box Reply-To: Jason Taylor In-Reply-To: <3.0.5.32.20020515094741.0118be50@mail.sage-one.net> User-Agent: Mutt/1.3.99i On Wed, May 15, 2002 at 09:47:41AM -0500, Jack L. Stone wrote: > Running FBSD-4.5 RELEASE with sendmail-8.11.6 and Qpopper > > As part of a daily digest mailing at midnight, I have a cron job that > copies a mailbox contents to a work file, then a script strips out the > extra header "noise" and sends out the nice clean digest to its members. In > order to cut off the mail box at precisely midnight, I have been "zapping" > the email box to zero it out in order to start another day's collection of > emails right after midnight. I use this command to "zap" the email box: > #echo > mymailbox my mymailbox mymailbox.yesterday Then do your cleanout etc. on mymailbox.yesterday. That should be alot safer Jason -- ==================================================================== Jason Taylor. Kanda Systems Ltd. Tel: +44/0 1970 621030 Systems Manager. Unit 17 Glanyrafon Fax: +44/0 1970 621040 jason@kanda.com. Enterprise Park. Mobile: +44/0 7976 926918 http://www.kanda.com. Ceredigion, UK http://shop.kanda.com ==================================================================== ----- End forwarded message ----- -- ==================================================================== Jason Taylor. Kanda Systems Ltd. Tel: +44/0 1970 621030 Systems Manager. Unit 17 Glanyrafon Fax: +44/0 1970 621040 jason@kanda.com. Enterprise Park. Mobile: +44/0 7976 926918 http://www.kanda.com. Ceredigion, UK http://shop.kanda.com ==================================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message