<<< Date Index >>>     <<< Thread Index >>>

Re: gzipped mail files?



Thanks! I didn't have to apply any patch. There's a precompiled binary
for my OS:

mutt-1.4.2.3-compressed.tgz

(OpenBSD 4.2)

After that, you have to add this to your muttrc:

open-hook \\.gz$ "gzip -cd %f > %t"
close-hook \\.gz$ "gzip -c %t > %f"
append-hook \\.gz$ "gzip -c %t >> %f"

Thanks a lot,

Pau

2007/11/27, Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Tuesday, November 27 at 05:43 PM, quoth Pau Amaro-Seoane:
> > do you know whether it is possible to work with gzipped files and
> > mutt?
>
> I do know! And yes, it is possible.
>
> > I keep every single email I get (apart from spam, of course) and the
> > size of my mail directory is growing too much...  With gzip I oculd
> > reduce the size by about 40%. I tried to do it but mutt says it
> > isn't a mail file...
>
> Yeah... there's a patch to mutt that makes this work. It's pretty
> stable (it's been part of the Debian distro for a long time), but
> isn't vanilla mutt. Anyway, the patch is here:
> http://www.spinnaker.de/mutt/compressed/
>
> ~Kyle
> - --
> The more men you make free, the more freedom is strengthened and the
> ... greater is the security of the State.
>                                      -- Frederick Douglas, Nov 17, 1864
> -----BEGIN PGP SIGNATURE-----
> Comment: Thank you for using encryption!
>
> iD8DBQFHTEx9BkIOoMqOI14RAjyPAJ9Su0zDv3JHBkPmy4g/wDmckuYwjQCgljbk
> voZWHxwse56SJgSV/8srVJA=
> =6bI+
> -----END PGP SIGNATURE-----
>