Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

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
Open

I want to filter any message that is NOT from a .com, .net, or .org domain.

marsh4

I set up a filter to move messages to the junk folder. If it's not from a .com, .net, or .org domain, move it. Here's how I set it up... If the "from" incoming message doesn't contain "any of the following" ".com" ".org" or ".net" move it to "junk". It moved .com and .org messages to junk anyway. What did I do wrong? There are too many TLDs to create a filter for all of them.

I set up a filter to move messages to the junk folder. If it's not from a .com, .net, or .org domain, move it. Here's how I set it up... If the "from" incoming message doesn't contain "any of the following" ".com" ".org" or ".net" move it to "junk". It moved .com and .org messages to junk anyway. What did I do wrong? There are too many TLDs to create a filter for all of them.

All Replies (12)

We need to see a screenshot of the filter so we know exactly it was entered. It is easy to get AND and OR and NOT logic not working as anticipated. Thank you.

Here's a screen shot.

An gyara daga marsh4

Here's a screen shot.

You should select "Match all of the following", to be filtered a message should match all of your rules. If you select "Match any of the following" messages always match one of your rules, so all messages are filtered.

That is ABSOLUTELY INCORRECT! If it had to match all of the rules, the incoming message would have to be from all four different types of domain names.

marsh4 said

That is ABSOLUTELY INCORRECT! If it had to match all of the rules, the incoming message would have to be from all four different types of domain names.

dillenger is correct. Your rules are “does not contain”. So no, matching all the rules would not filter messages that match all your specified domains. Matching all the rules would filter messages that do not contain any of your specified domains.

There are many top-level domains used by individuals and legitimate organizations other than the ones that you use in your filter. Do you want to filter all of them?

That is exactly the point! Filter any and all domains that are not .com, .net, or .org

An gyara daga marsh4

I was not surprised at your screenshot; it's common to get things reversed when using NOT logic. :) Let know when you have success. That small change should do it. :)

david said

I was not surprised at your screenshot; it's common to get things reversed when using NOT logic. :) Let know when you have success. That small change should do it. :)

One thing is clear, following any advice given here will not guide me to success.

You morons don't even understand the question!

Everyone here understands the question. (I asked my question because you may find that you are filtering too much.) You have the solution. Now use it and stop insulting the volunteers who have helped you.

I am always surprised that there are people who will state a solution is wrong without even trying it. The problem was identified even before the person's response. But, we have better things to do than argue with those who don't listen. I am signing off from this thread.

Yi tambaya

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.