Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

Possible Duplicate:
How to implement a white-list-based system in Gmail?

Is there a way to tell Gmail "Only allow into my inbox emails from the following email addresses. Send the rest to the trash bin."? I know how to blacklist specific email addresses by making a rule such as "If the sender is from a specific email address, send it to the trash" but I can't make a rule for every email in existence except the ones I want to let through.

share|improve this question

migrated from superuser.com Feb 22 '12 at 18:30

This question came from our site for computer enthusiasts and power users.

marked as duplicate by Al E., Dez, Eight Days of Malaise, ChrisF Dec 14 '12 at 14:12

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

add comment

3 Answers 3

up vote 9 down vote accepted

You can use the - operator. For ex. you can create a filter that says move all emails from:(-@abc.com) to trash. This will move all emails that are not from @abc.com domain to trash.

Gmail Filter

share|improve this answer
add comment

I don't believe this is possible as Google doesn't apply their filters in a certain order or have a built in option for this type of setup. That said I'm pretty happy with gmails junk filters...

share|improve this answer
add comment

Gmail has a spam filter...

  • Follow the Settings link in Gmail
  • Go to Filters
  • Create a new filter
  • Type the email addr under From:
  • Type just the domain name to whitelist the entire domain
  • Click next step
  • Make sure the Never send it to Spam is checked
  • Click Create Filter
share|improve this answer
add comment

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