Gmail – Composing a Gmail Filter: ‘On This List and Not to Me’

gmailgmail-filters

I filter all mail received from the mail list mylist with this filter and label it for later reading:

Matches: list:(<mylist.example.com>)

I would like to modify this for this logic:

if the mailing list is <mylist.example.com>
AND if I am not a direct recipient

The intention being that "general" mail list traffic is labelled, but replies to the list and myself stay in my inbox.

How can I express this in a Gmail filter rule?

Best Answer

I would expect that

{list:mylist1 list:mylist2} -to:myname@example.com

would do what you want. The - indicates a negative match, so should match messages from either of the lists where your email address does not appear in the to: field.