Re: [users] Re: getting procmail to pipe to a gzipped file
On Tue, 8 May 2001, email@example.com wrote:
> On Mon, May 07, 2001 at 11:30:59PM -0400, MaD dUCK wrote:
>> also sprach firstname.lastname@example.org (on Tue, 08 May 2001 01:25:37PM
>> > > 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.
>> as i said, gzip outputs to stdin by default (like any good ol' unix
>> proggy), so the -c flag is just not necessary. nevertheless, aside
>> from the 'i' flag for the recipe, i would maybe write
>> "| (gzip >> testing.gz)
>> just to make sure that the >> is passed to the right shell instance.
> I don't understand why not worky :-(
> Here is what I have in .procmailrc now:
> # testing of gzip pipe
> :0 bw:
> * ^Subject:.*gzip
* ^Subject.*gzip instead of the last line
so here we are then....
==== Running Debian/Gnu Linux ====
7:54am up 41 min, 2 users, load average: 0.06, 0.08, 0.13