From owner-freebsd-questions Wed May 15 9:10:49 2002 Delivered-To: freebsd-questions@freebsd.org Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by hub.freebsd.org (Postfix) with ESMTP id 7D5EA37B404 for ; Wed, 15 May 2002 09:10:43 -0700 (PDT) Received: from SAGEONE (sageone [192.168.0.5]) by sage-one.net (8.11.6/8.11.6) with SMTP id g4FGAca15900; Wed, 15 May 2002 11:10:39 -0500 (CDT) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20020515111037.0301aa40@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Wed, 15 May 2002 11:10:37 -0500 To: Philip Hallstrom From: "Jack L. Stone" Subject: Re: Zapping Email Box Cc: Jason Taylor , In-Reply-To: <20020515084029.H62470-100000@cypress.adhesivemedia.com> References: <3.0.5.32.20020515103052.0301aa40@mail.sage-one.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 At 08:42 AM 5.15.2002 -0700, Philip Hallstrom wrote: >Why not change whatever is writing to the mailing list to be a script... >so if you're using sendmail something like: > >mymailbox: |/path/to/script.sh > >And then script.sh can look something like: > >#!/bin/sh >cat - > /path/to/mailbox.`/bin/date +%y-%d-%m` > >which would give an output of /path/to/mailbox.2002-05-15 for today... >then you're cleanup script gets run at 12:01 and looks for yesterday's >file and does whatever it needs to do... > >-philip ....hmmm, gotta think about this one.... .... 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