To me, it sounds like you could create a very simple filter to do what you want: -to:me -from:me
Wouldn't that accomplish it? Maybe also add -cc:me ?
That works, but only if I want it applied to everything that comes into my account. Let me make up a few example e-mails to show the limitation:
First message:
To: ListA@place.com, tom@place.com
Cc: manager@place.com
Subject: Important A thing
Second message:
To: ListB@place.com, tom@place.com
Subject: Something about B
Third message:
To: ListTomIsntOn@place.com
Cc: ListA@place.com
Subject: C is the place to be
Lets say I have a filter that says To: ListA@place.com, Skip the Inbox, Apply a label "A".
And one that says To: ListB@place.com, Skip the Inbox, Apply a label "B".
So far so good, all the message above would skip the inbox, and have labels applied. (Double checking here, GMail is missing a specific Cc field, but I believe it caught them anyhow if it was a To rule)
Now, how do I set up rules to do the following:
I want the first message in my inbox, but not the second or third message. This is doable in Exchange, along with my IMAP setup where I use sieve. The rule in Exchange looks like this:
Sent to: ListA@place.com
Move to the ListA folder
Except where: my name is in the To or Cc box (also useful, there is just a separate choice with just To or just Cc)
Stop processing more rules
The key part here is the "except where" ability of rules to create exceptions.