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

Re: mutt compressed folders support ???



On Wed, Feb 19, 2003 at 05:40:41PM -0600, Michael D. Schleif wrote:
> 
> [1] Is mutt in stable (v1.4i) ``compiled with compressed folders support
> (by running the configure script with the --enable-compressed flag)''?

Judging by the changelog.Debian.gz (which all packages should have),
yes:

mutt (1.2.5-5) unstable; urgency=low

  * Added support for libc6 2.2 compressed charmaps
    (Closes: #74975).
  * Updated README.Debian about SSL support (Closes: #75895).
  * Added the compressed folder patch (Closes: #76224).
  * Removed some colorization (Closes: #77976).

 -- Marco d'Itri <md@linux.it>  Mon, 27 Nov 2000 18:46:25 +0100

> [2] How does this work?  I see these:
> 	open-hook \\.gz$ "gzip -cd %f > %t"
> 	close-hook \\.gz$ "gzip -c %t > %f"
> 	append-hook \\.gz$ "gzip -c %t >> %f"

That looks like mutt automatically decompresses mboxes on open into a
temporary file, and then recompresses them on close/append. 

> [3] Does this work only with gzip'd mbox mail folders?

Sure looks like it.

> [4] Can this be made to work with maildir contents in TGZ format?

I'm not sure.  That sounds like it would add a *lot* of overhead,
though.  You could just do a similar trick as above though, if you felt
the urge, just using 'tar -zxf' and 'tar -czf' instead of 'gzip -cd' and
'gzip -c', respectively.

-- 
Rob Weir <rweir@ertius.org>				http://ertius.org/

Attachment: pgpRRGO9KiuTK.pgp
Description: PGP signature


Reply to: