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

Re: getting procmail to pipe to a gzipped file



On Tue, May 08, 2001 at 01:25:37PM +1000, mdevin@ozemail.com.au wrote:
> On Mon, May 07, 2001 at 10:20:51PM -0400, Rob Mahurin wrote:
> > Try "| gzip -c >> testing.gz".
>
> That still seems to not work when I sent a mail with Subject: gzip
> And I know the condition works since if I remove the gzip pipe and just
> place a filename there then it does append to it OK.

Hmmm ... worked for me here, but I'm not sure what your definition of
"working" is.  When I used that syntax I got a file called
Mail/testing.gz, which gunzip transformed into a normal-looking mbox
file.  mutt, however, said (rightly) that the compressed file was not
a mailbox.

For what it's worth, I have procmail v3.13.1 1999/04/05 and Mutt 1.2.5i.

> > How will you read mail from the compressed box?
>
> I was going to use zless.  That should work shouldn't it?

Well, only as well as "less /var/mail/$USER".  That doesn't seem to me
like a very effective way to read a mailing list archive with
thousands of threaded messages; I have trouble when I can see all the
headers.  I can't think of a better way, though.  Chalk it up as a
wishlist bug for mutt 2.0.

Rob

-- 
Being owned by someone used to be called slavery -- now it's called commitment.



Reply to: