Re: gzipped mail files?
- To: mutt-users@xxxxxxxx
- Subject: Re: gzipped mail files?
- From: "Pau Amaro-Seoane" <vim.unix@xxxxxxxxxxxxxx>
- Date: Tue, 27 Nov 2007 23:57:58 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=xEZ3bXnJpOJIbu744Pg0Mcf1+FyIwxfsuBob13V7lrU=; b=xAHm923ITr4hwrgPje0+3/Tf7XS67Z+/zFF4YF+xfDD53jIWjQYwOM8Q7Kc9Cy15wDHk7AQpaY4qe7TwmB7TCq2cnkMT6dSIlpjkFtwdEA+rsRP+57uo4PLigfh1ELYQ8QsUOtFmBGBKjdV3Qt/KFCqvfJAJGRtqVE95F9mruX0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AiAOPIR4CWGs3MuW3fXZexD9Wy21Qtha7gasMhpu2m5TQFNulStFC27FX+wsUgR1f6sYcxunZ0NPxCclim7Tctj2/gTf8SBUKwcBwTqsQDuDv+RC+2t0/Fzdy3d4Q5DPfPAjfObgzt1JasHLEjtHFABGgTiNqD4TCsxkgcyBiCY=
- In-reply-to: <20071127165733.GM9039@xxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- References: <30c383e70711270843t3dabcd6eh576fba2c65b9a7e@xxxxxxxxxxxxxx> <20071127165733.GM9039@xxxxxxxxxxxxx>
- Reply-to: vim.unix@xxxxxxxxx
- Sender: owner-mutt-users@xxxxxxxx
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-----
>