Date: Wed, 15 May 2002 10:30:52 -0500 From: "Jack L. Stone" <jackstone@sage-one.net> To: Jason Taylor <jason+freebsd@kanda.com>, freebsd-questions@FreeBSD.ORG Subject: Re: Zapping Email Box Message-ID: <3.0.5.32.20020515103052.0301aa40@mail.sage-one.net> In-Reply-To: <20020515150323.GC6657@uk2.kanda-systems.net>
next in thread | previous in thread | raw e-mail | index | archive | help
At 04:03 PM 5.15.2002 +0100, Jason Taylor wrote: >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 ....but, I must zero out "mymailbox" exactly at 23.59.... that's the problem, not making a work copy. I already make a "work" copy like "mymailbox.yesterday" for doing the other processes. The problem is clearing out the original mymailbox.... .... our website: http://www.sage-one.net/ Best regards, Jack L. Stone Server Admin 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?3.0.5.32.20020515103052.0301aa40>