Toen wij Dallman Ross kietelden, kwam er dit uit:
I was of the belief that just
my_HEADERS = `formail -x ""`
wouldn't tangle us in a race condition with whatever follows.
Nice. But the x should be an X, right?
The final $ isn't even needed, however, unless I'm misremembering from
yesterday's experiments.
Well, I think that 'my_HEAD' either should end with an NL, or it
should be added in the echo-call.
my_HEADERS_??_^$\my_FIELD:.*(^$b.*)*.*$my_REGEX.*(^$b.*)*^\/$S.*(^.*)*^^
.....................................^^
I think the ".*" there is redundant.
Check.
I also think the "^^" at the end of your condition is not required.
I added that just for fun and clarity.
We still need A flags (or bracing) on the second recipes to keep them
from invoking if the message is not one of our target ones. Oh, and
we might as well put the test before the header-extraction backticks.
Yes, but we must leave something for the other gods.
--
Grtz, Ruud
____________________________________________________________
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