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?

I want to make my Gmail account filter out all incoming email, save for those from a particular address, so that only email from that one address can be received, while the rest should be put automatically into trash.

share|improve this question

migrated from superuser.com Mar 29 '12 at 18:00

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:13

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

1 Answer

up vote 7 down vote accepted

You can use from:(!%sender%) to filter all emails but the ones from a particular sender. For example, if you only wanted to receive emails from Facebook, you would use from:(!facebook) in a filter that trashes all matching emails.

To add such an example filter, put !facebook inside the "from" field when creating filter options.

share|improve this answer
add comment