I'm using Gmail Forwarding to forward all messages to another account. However I have about 50 email addresses in a filter that I do not want forwarded.

I don't want to mark these messages as spam, because they're important emails, but just don't want them forwarded.

Is there an advanced filter to forward all messages sent to the account except those that match this particular filter?

4 Answers 4


You could always negate your existing filter - I assume it's in the form from:([email protected] OR [email protected]) and so on. If that's the case:

  1. Disable the setting that is forwarding all your mail (Settings > Forwarding and POP/IMAP > Forwarding > "Disable Forwarding").
  2. Create a new filter that looks like the following (notice the dash before from:): enter image description here
  3. Therefore, only mail that doesn't match these conditions will be forwarded.


You can create a filter by entering your search first and clicking the arrow for "Show search options": enter image description here

Then click the "Create filter with this search" button: enter image description here

  • 1
    As of 27Jan2015, if you click in the box that has the current filter text, it takes you out of the Settings / Filters / Create a new filter (or Settings / Filters / Edit) dialog. I have not found a way to modify what is created initially by filling in the form!
    – J.Merrill
    Jan 27, 2015 at 17:12
  • @J.Merrill that has nothing to do with this question, and as of at least 2018/2019, you click 'continue'
    – barlop
    Jan 1, 2019 at 15:00
  • regarding your conditional. James says that your conditional didn't work but this one did from:(-([email protected] OR [email protected])) worked for him
    – barlop
    Jan 1, 2019 at 16:39
  • this solution is amazing but doesn't seem that scalable, see related q webapps.stackexchange.com/questions/123576/… I wonder if this one is more scalable webapps.stackexchange.com/questions/73962/…
    – barlop
    Jan 4, 2019 at 2:56

The solution above didn't work for me (Feb 2015). However, this solution did work:

from:(-([email protected] OR [email protected]))
  • the question was about forwarding email not about a conditional
    – barlop
    Jan 1, 2019 at 15:03
  • you should make that a comment
    – barlop
    Jan 1, 2019 at 16:08

For my case the following one worked - ( I added this on the field "Has the Word")

(from:(-([email protected] OR [email protected])))


In the field "Has the words" alright but no need for the "from" and delimit addresses with {}, like this: -{[email protected] OR [email protected] OR [email protected]} The "-" upfront makes it Has not the words and discards these addresses.

  • As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.
    – Community Bot
    Feb 7, 2022 at 7:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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