Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2002 16:03:23 +0100
From:      Jason Taylor <jason+freebsd@kanda.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Zapping Email Box
Message-ID:  <20020515150323.GC6657@uk2.kanda-systems.net>

next in thread | raw e-mail | index | archive | help
Forgot to cc to list.  Sorry.

Jason

----- Forwarded message from Jason Taylor <jason+freebsd@kanda.com> -----

Date: Wed, 15 May 2002 16:00:01 +0100
From: Jason Taylor <jason+freebsd@kanda.com>
To: "Jack L. Stone" <jackstone@sage-one.net>
Subject: Re: Zapping Email Box
Reply-To: Jason Taylor <jason+freebsd@kanda.com>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020515150323.GC6657>