procmail
[Top] [All Lists]

Re: Content-Length: header

1998-09-30 14:54:51
On Tue, 29 Sep 1998, David W. Tamkin wrote:


  :0fhw # B won't help; size conditions ignore H and B flags on the :0 line
  * ! ^Content-Length:.*[0-9]
  * 1^1 B ?? >1
  | formail -a "Content-Length:  $="
                                   ^^^
[Yes, a space does work, at least when I tried it under procmail 3.11pre7
 and FreeBSD.]

This works?  I know that the following hasn't worked for several people in
the past:

| formail -I "X-score: $="

In the past I've had to do something like this to get a score added to
the headers:

VAL=$=

:0 fhw
| formail -I "X-score: $VAL"

-- 
A conservative is a man with two perfectly good legs who has never
learned to walk.
                -- Franklin D. Roosevelt

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