The way this should work is as follows:
- new e-mail arrives at the recipient's box and procmail picks it up and checks the X-Forward-For header
- if the header does NOT contain any of those listed, it forwards the message to the specified gmail address
> STOP <
- if the header exists and contains any of the matches listed, the message gets dropped into the recipient's inbox
AND
- it is at this point that I want it to also forward a copy of said message to the second e-mail address
The first rule works as expected. Message comes in, first rule checks it and upon failing, bounces back out to gmail. Nothing happens after that. When the message returns, it passes the first rule and gets dropped in the recipient's box. When I added the second rule, nothing changed. The first keeps running as is and the second is simply ignored.
Now, perhaps I'm wrong in thinking that when it comes back and passes the first rule, it will also run through the second rule. Is this a case where I need to write things wrapped in a nest? Sort of like an IF .. THEN .. ELSE?
A