I would handle this by running pine for the user, sort the mail by
date, and then delete what I don't want.
At 09:48 PM 10/2/2006, you wrote:
>On Mon, Oct 02, 2006 at 03:50:15PM -0500, William J.A. Brillinger wrote:
>
> > I need to process a users mailbox extracting messages that are newer
> > than 7 days and discarding the rest.
>
>Easiest way I think is to run mutt as root from the commandline and
>connecting to the user's mailbox using the -f parameter. You can then sort
>the messages on date, and delete the old ones.
>--
>Maurice de Laat
>Muis Netwerken
*****************************************************************
MuntadaNet Web Hosting and Web Design Services
http://www.muntada.com
Sales - sales (at mark) muntada.com
Support - support (at mark) muntada.com
Billing - billing (at mark) muntada.com
Main Office - 808-689-6092
Fax - (808) 356-0279
*****************************************************************