[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: best way to storing old mail (mhonarch, archivemail,...,?)



On Wed, Jan 07, 2004 at 08:30:36AM -0500, Antonio Rodriguez wrote:
> I'm looking for opinions to archive old mail, and yet leaving it in a
> readable way. I have used mhonarc only so far, but it seems to me that
> there could be a better way, even by just gzipping mbox and creating a
> script to pipe it thorugh mutt to read it when needed. Doing apt-cache
[...]

The debian mutt packages have compressed folder support compiled in, so 
all you need to do is go ahead and gzip (or bz2) your archives and make
sure that your .muttrc contains something like:

# Use folders which match on \\.gz$ or \\.bz2$ as [gb]zipped folders:
open-hook       \\.gz$ "gzip -cd %f > %t"
close-hook      \\.gz$ "gzip -c %t > %f"
append-hook     \\.gz$ "gzip -c %t >> %f"
open-hook       \\.bz2$ "bzip2 -cd %f > %t"
close-hook      \\.bz2$ "bzip2 -c %t > %f"
append-hook     \\.bz2$ "bzip2 -c %t >> %f"

HTH

dt

-- 
Dave Thayer           | WARNING: Persons denying the existence of 
Denver, Colorado USA  | robots may be robots themselves.
dave@thayer-boyle.com | 



Reply to: