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?

  • I, too, am curious about this exact filter. Any luck? – Nathan Williams Aug 21 '17 at 13:01

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.

| improve this answer | |
 {list:mylist1 list:mylist2} to:myname@example.com is:unread 

This rule will find messages:

  • from mylist1 or mylist2
  • to myname@example.com
  • that have not been read
| improve this answer | |

I found the solution thanks to the responses. More specifically, I wanted to filter messages from a Google group. I got to this one (hope it works for other people as well):

to:(mygroup@googlegroups.com -mymail@gmail.com)
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.