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.

marked as duplicate by ale, Rebecca Dessonville, 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.

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

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


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.