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.

 {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

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.