Re: How to remove messages from mbox based on relative date?
On Mon, Apr 23, 2001 at 07:53:07PM -0700, Mike Fedyk wrote:
> On Mon, Apr 23, 2001 at 09:33:30PM -0500, John Patton wrote:
> > On Mon, Apr 23, 2001 at 06:05:07PM -0700, Mike Fedyk wrote:
> > > Hi,
> > >
> > > I have a .procmailrc and am filtering, but now I don't want to have to
> > > delete my messages when they get old in certain mbox files.
> > >
> > > Can I run procmail with another conf file and have it send messages with a
> > > "delivered" date older than N days? Is procmail even the right tool, I'm
> > > not so sure...
I'm not sure what it is that you want to do, but maybe formail
could do it. From formail(1):
formail is a filter that can be used to force mail into
mailbox format, perform `From ' escaping, generate auto-
replying headers, do simple header munging/extracting or
split up a mailbox/digest/articles file. The mail/mail
box/article contents will be expected on stdin.
--
Ken Irving <jkirving@mosquitonet.com>
Reply to: