Hmm, wouldn't you know it: I spend hours one the problem,
give up and send it to the list, then, five minutes later,
it dawns on me what I've done wrong.
I wrote:
I've got this in my .procmailrc:
section_list = "{ ENV : PRE : SPECIAL : HEADERS : MY_DOMAINS : \
WHITELISTS : SPAM : VIRUS : VACATION }"
And this in an INCLUDERC [. . .]:
:0 # find next section so we can log our position in the rc
* $ section_list ?? () $SECTION : \/[^ ]+
{ NEWSECTION = $MATCH }
I changed the conditions there to:
* $ section_list ?? () $SECTION : \/.+
* MATCH ?? ()\/[^ ]+
Now it works fine.
(But if anybody has comments on style, I'm all ears!)
Dallman
--
Dallman Ross
"If you find a path with no obstacles, it probably does not lead to
anywhere."
Thoughts of Rev. Sunnan Kubose, from _Zen in the Markets_
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail