On Fri, Apr 30, 2004 at 06:55:03PM -0600, LuKreme wrote:
On 28 Apr 2004, at 14:32, Scott Wiersdorf wrote:
That's an awful lot of copies of the same message.... What where you
trying to do?
I was trying to do what I believed you were asking for: you wanted
each recipient address in the headers that matched the ^TO_ macro,
right? I expanded the ^TO_ macro (I think Ruud posted something
similar, but he did a better job keeping everything in one variable
whereas I use multiple variables for each header found).
If you want to stop at the first match, you don't need the 'c', of
course. I understood that you wanted to get _all_ recipients that
match ^TO_, and the way to do that is to expand ^TO_ manually (see
previous post) and pass the message through each recipe, collecting
headers as they're found. You need the 'c' so processing continues
until all headers expanded from the ^TO_ macro have had a chance to
The only other way (which Ruud also pointed out, I believe) would be
to call something recursively via INCLUDERC. I'm not precisely sure
how that would work off the top of my head. Sorry if I misunderstood
your original and followup post.
procmail mailing list