Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to auto delete email from the spam folder if they are from a particular domain, is it possible?

For example, if an email message is marked as SPAM and it is from example.com, don't keep it in the SPAM folder

I want to keep my SPAM folder clean so it will be more easy to check if I missed some important mails.

share|improve this question

migrated from superuser.com Nov 17 '12 at 5:08

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

Go to Settings, select "Filters". Scroll to the bottom and select "New filter". Put @domain.com in the from field. If you want it to only check email that have gone to spam, put in:spam in the has the words field. Now click "Create filter with this search":

enter image description here

Now, an new window will appear. Tick "Delete it", then click "Create filter", and you ought to be ready to go!

enter image description here

share|improve this answer
The problem with this approach is the whole domains is blocked. I only want to delete email from this domain if it is only marked as SPAM. – Yoga Nov 18 '12 at 8:33
@Yoga: Fixed :) – Manishearth Nov 18 '12 at 10:37

You can setup filters to delete it.

Go to setting and then filter.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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