This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How can I send all emails from a particular domain (ie "bademails.com") to the "Trash" folder?

  • 2 cavab
  • 2 have this problem
  • 1 view
  • Last reply by mselvage

more options

I would like to set up a filter that sends emails from a specified domain (ie "badboys.com") to the "Trash" folder. An alternative would be to use a given messages "Reply To" email address. I get emails from senders that I have "unsubscribed" to many times and they apparently ignore the "unsubscribe" request. The emails seem to be from the same domain - but a different "From" field. I can't even get a filter on the "From" field to work on messages currently in my inbox. I have to be doing something wrong.

I would like to set up a filter that sends emails from a specified domain (ie "badboys.com") to the "Trash" folder. An alternative would be to use a given messages "Reply To" email address. I get emails from senders that I have "unsubscribed" to many times and they apparently ignore the "unsubscribe" request. The emails seem to be from the same domain - but a different "From" field. I can't even get a filter on the "From" field to work on messages currently in my inbox. I have to be doing something wrong.

Chosen solution

If you want to filter on the Reply-To header, head over to the filters and create a new one. Use the pull-down menu to select "Customize..." and add "Reply-To" to the box. When you save that, "Reply-To" will become a selection in the pull-down. See the screenshots (attached) to check to make sure all of the other settings match.

That should work. If you have other filters, then move this one to the top of the list to make sure it's executed first.

Read this answer in context 👍 0

All Replies (2)

more options

Seçilmiş Həll

If you want to filter on the Reply-To header, head over to the filters and create a new one. Use the pull-down menu to select "Customize..." and add "Reply-To" to the box. When you save that, "Reply-To" will become a selection in the pull-down. See the screenshots (attached) to check to make sure all of the other settings match.

That should work. If you have other filters, then move this one to the top of the list to make sure it's executed first.

more options

HEY - That works. When I tried it before making this post I had left out the "-" in "Reply-To".

However it's not a complete solution as I have to have a filter for each email domain I want to send to "Trash". There could be a lot of them. It would be easier if, instead of a separate filter for each email domain, I could specify "If the email address is in the "Junk Email" Address book -- send it to "Trash" (similar to how the "From" header works).

But this is good. I learned something new and useful - and it gives me ideas to "play with" in the future.

Thank you for the help. Your time and effort are appreciated !