Affijn, Ruud (E. malhavas kuon) skribis:
dmanis skribis:
Ruud:
I assume it can also be done with nested recipes (which you can see
as a single recipe). Or do the sub-recipes inherit the D-flag-
setting?
Uh. I think that's what Stan Ryckman skribis and you already qvotis,
Ruud! :)
I don't think that you get the points. 1. a recipe with a nested
structure ({recipes} in recipes) could be seen as a single recipe;
2. it is only feasible if the D-flag-setting is not 'inherited'
(which would be a bug if it did), because there is no flag to
switch case-sensless matching back on.
Oh, I got it, yeah, but didn't really think it needed explicit
assertion. :) But now I'll state it: No, the D flag is not
inherited in subsequent recipes. This is particularly interesting
with the A flag on the subsequent recipe. Running a test mail
message with the body line "MY DOG HAS FLEAS" through my test harness,
where said harness contains these two recipes --
:0 DB
* ^^MY DOG HAS FLEAS
{ LOG = "
CANINUS
" }
: AB
* dog
{ LOG = "
caninus
" }
Produces the following log output:
CANINUS
caninus
That means that the second recipe was no longer acting on the case-
sensitive directive from the first.
--
dman
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail