procmail
[Top] [All Lists]

Re: Phantom lines in empty body

2004-06-21 13:13:42
On Mon, Jun 21, 2004 at 12:38:18PM +0200, Dallman Ross wrote:
I suspect this is an issue to do with the very old version you are
using there -- you said it was 3.15.1, yes?  But I don't know.
That is just a guess. 

No.  The failure was on my ISP's procmail v3.22 2001/09/10.
My ancient procmail v3.15.1 2001/01/08 at home works as expected.

I just re-ran my original recipe on the ISP SunOS machine, and now
it works, at least in isolation:

procmail: Score:       1       1 ""
procmail: Score:       0       1 "^.*[^     ]+.*$"

However, when I run it in the context of my whole big spam rc file,
it fails as in my original post:

procmail: Score:       1       1 ""
procmail: Score:     -27     -26 "^.*[^     ]+.*$"

I tried setting LINEBUF to 8192, and 50000, with the same result.
I don't know what else to change, but it would seem that something
must be overflowing in the procmail v3.22 environment.  I also have
one place in that rc file where $_ gives nonsense.  It's fine everywhere
else before and after that spot.  Very strange.  Frankly, very troubling.

Everything works fine on my procmail v3.15.1; no problems whatsoever.

Changing the empty-body recipe to:

:0 B
* $-9999999^1    [^$SPC$TAB]+
*         1^0

makes it work everywhere.

Thanks for all the ideas,

Jim

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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