On Fri, 2004-03-05 at 15:38, Gavin Carr wrote:
> On Fri, Mar 05, 2004 at 03:33:55PM +1100, Peter Hardy wrote:
> > On Fri, 2004-03-05 at 15:08, Alexander Samad wrote:
> > > No the last step is I want to be able to run a program/script against a
> > > mbox file and seperate into two files (or append to other files) emails
> > > that are older than a certain date and younger than a certain date.
> > > 
> > > so before I venture off in to formail,perl and write my own does any
> > > body know of a package module that does this ?
> > 
> > Yep! Called, funnily enough, archivemail.
> > 
> > Nice little python jobbie that'll rotate anything older than a certain
> > date out of a given mail box and in to a compressed mbox.
> 
> Or you could consider converting from mbox format to Maildir format
> (which mutt and procmail both handle fine), which stores each message
> as a separate file instead of your monster mbox file. Rolling your own 
> stuff for this sort of archiving then becomes almost trivial.

Oh, archivemail is input format agnostic.  It'll read mbox, Maildir and
MH files.  I don't think it gives you much of a choice of output
formats, though.  I use archivemail on seperate servers with both mbox
and Maildir.

(I also prefer Maildir, but I think it takes a better reason than just
"better archiving tools" to convince anybody to go through the pain of
converting an established mail server)

-- 
Pete

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to