On Tue, Feb 27, 2007 at 09:34:04AM -0500, Stephen wrote:
> On Tue, Feb 27, 2007 at 12:13:11AM -0500 or thereabouts, Michael Pobega wrote:
> > I'd like to be able to create a cron job that does a weekly archive of
> > all of my folders in ~/mail. The way I have my mail set up is one
> > folder per box, for example my folders are:
> > 
> > ~/mail/inbox
> > ~/mail/debian-user
> > ~/mail/sent
> > 
> > I'd like the Cron job to archive these on a weekly basis, but not
> > exactly on a weekly basis.
> 
> Instead of reinventing the wheel; Why not use something like
> archivemail?
> 
>       # aptitude show archivemail
>       Package: archivemail
>       State: installed
>       Automatically installed: no
>       Version: 0.7.0-1
>       Priority: optional
>       Section: mail
>       Maintainer: Joey Hess <[EMAIL PROTECTED]>
>       Uncompressed Size: 139k
>       Depends: python
>       Description: 
>       archive and compress your old email
>       Archivemail moves old mail out of a mailbox (in Maildir, MH, or
>       mbox format, or via IMAP) and archives it in a compressed 
>       mbox-format mailbox file. It is well suited to be run from cron for
>       automatic archiving of your old mail.
> 

Wow, nice find! I'll definitely toy around with this sometime today.

Oh, and it's in maildir format, since that's the only way I could get
Mutt to do what I wanted (Mbox didn't seem to work right the way I was
trying to set it up, although I don't mind using maildir instead of
mbox).


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to