Re: Scoring bug in Procmail v3.22

Liviu Daia <[email protected]> Sun, 8 Jun 2003 23:41:33 +0300
Newsgroups gmane.mail.procmail.devel
Message-ID <[email protected]>
On 8 June 2003, David W. Tamkin <[email protected]> wrote:
> Liviu Daia wrote:
>
> >     I stumbled upon what seems to be a bug in Procmail version 3.22,
> > related to scoring.
>
> It's probably not related to scoring but to 3.22's bug of a sticky
> H flag.  Once you have an H on a flag line in 3.22, H is on until
> procmail exits, and only B ?? on a specific condition line can make it
> apply to only the body.

    I see.

> > :0 Hfw
> > * ^Blah
> > | cat
> 
> H without B is the default; you don't need it.

    Yes, I know, I was trying to minimise it for debugging purposes.
The actual recipe is:

	:0 HBfw
	* ^Content-Transfer-Encoding:[ 	]+(x-)?uuencode
	| emil -u -B BA -F MIME

    
[...]
> > :0 Bfhw
> > * H ?? ! ^Lines:
> > * -1^0
> > *  1^1  ^.*$
> > | formail -b -A "Lines: $="
> 
> so it counts all the lines in the entire message.
>
> It also works if you specify B ?? on the second and third conditions
> of the latter recipe; that evades the sticky-H effect.
[...]

    I see.  Is there a fix for the real problem?

    Regards,

    Liviu Daia

-- 
Dr. Liviu Daia               e-mail:   [email protected]
Institute of Mathematics     web page: http://www.imar.ro/~daia
of the Romanian Academy      PGP key:  http://www.imar.ro/~daia/daia.asc