procmail
[Top] [All Lists]

Re: Action line confusion

1998-12-05 08:44:33
On Fri, Dec 04, 1998 at 05:28:52PM -0600, Joi Ellis wrote:
What I really want it to do is:

:0 H
* Content-Type.*multipart/report
{
  :0 wi
  * >4096
  | head -$TRUNCATELINES | gzip -fc >>$DEFAULT

  :0 w
  | gzip -fc >>$DEFAULT
}

But, no matter what I try to do, the damn thing appends the gzip program
binarh into the mailbox, not the gzipped message content.  

The following works well for me:

:0
* ^From:.*noilhan
* ^Subject: *pm-gzip
{
  :0 wi
  * >4096
  |head |gzip -fc >> blah.gz


  :0 w
  |gzip -fc >> blah.gz
}

Could you tell us more about it? (verbose, which gzip...)

        Fabrice
-- 
Fabrice(_dot_)Noilhan(_at_)ens(_dot_)fr
http://www.eleves.ens.fr/~noilhan

<Prev in Thread] Current Thread [Next in Thread>