Date: Wed, 15 May 2002 11:10:37 -0500 From: "Jack L. Stone" <jackstone@sage-one.net> To: Philip Hallstrom <philip@adhesivemedia.com> Cc: Jason Taylor <jason+freebsd@kanda.com>, <freebsd-questions@FreeBSD.ORG> Subject: Re: Zapping Email Box Message-ID: <3.0.5.32.20020515111037.0301aa40@mail.sage-one.net> In-Reply-To: <20020515084029.H62470-100000@cypress.adhesivemedia.com> References: <3.0.5.32.20020515103052.0301aa40@mail.sage-one.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.20020515111037.0301aa40>