procmail
[Top] [All Lists]

Re: procmail 3.22: ':0 B:' misbehaves on solaris

2006-12-06 12:44:59
On Wed, Dec 06, 2006 at 07:52:32PM +0100, Rado S wrote:
Now the problem:

On solaris 7,8+10 (9 untested) procmail 3.22 misbehaves while on
Linux it works for restricting matches to "body only" == :0 B:
Instead it applies to the _whole_ msg including both body _and_
header! Example case:

:0 B:
* ^^\/(.|$)*^^
/path/to/folder

This puts complete msg in MATCH with header, not only the body.
If I put
* B ?? ^^\/(.|$)*^^

then it does correctly apply only to the body.

Why does only this fail while restrictions :0 H: (the default)
work correctly?

There is an old known bug in 3.22 such that the H flag is
sticky.  Once you set it, it stays set on subsequent recipes.
There is a patch for this out there.

However, since H is the default, normally one rarely has
a need actually to state it.

Dallman

____________________________________________________________
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