Block Top Level Domain (.eu)

I'm trying to configure a transport rule in Exchange 2013 to block all emails from the TLD .eu   We get nothing but a TON of spam that is not caught by the Exchange 2013 spam filter, and it's always from a different domain. I have seen guides for 2007 and 2010, but nothing for 2013.

Do I just use the rule "The sender domain is" and use the value ".eu"? I just want to verify this is the correct way to block a TLD.

March 24th, 2014 7:28pm

Hi Jsilveri,

I think that you could try:

Set-SenderFilterConfig -BlockedSenders <sender1,sender2...> -BlockedDomains <domain1,domain2...> -BlockedDomainsAndSubdomains <domain1,domain2...>

See this article for more info: http://technet.microsoft.com/en-us/library/bb124087(v=exchg.150).aspx

Hope that helps,

Shelly

Free Windows Admin Tool Kit Click here and download it now
March 25th, 2014 12:31am

Hi Jsilveri,

I think that you could try:

Set-SenderFilterConfig -BlockedSenders <sender1,sender2...> -BlockedDomains <domain1,domain2...> -BlockedDomainsAndSubdomains <domain1,domain2...>

See this article for more info: http://technet.microsoft.com/en-us/library/bb124087(v=exchg.150).aspx

Hope that helps,

Shelly

Thanks for the help, but that doesn't really answer my question. 1 user gets 30-40+ spam messages a day, all from different domains, so adding them 1 by 1 is not an option. However, all of them are from the TLD .eu. We get no legitimate email from a .EU address, so blocking it all is not a problem (I will just redirect all of them to the quarantine mailbox just in case).

All of the anti-spam components are turned on already as much as possible, otherwise too much ends up in quarantine. But the spam filter is almost useless in Exchange 2013, so a ton still gets by anyway.

March 25th, 2014 2:43pm

Hi Jsilveri,

You can use Sender Filtering feature:

Set-SenderFilterConfig BlockedDomains

http://technet.microsoft.com/en-us/library/bb124087(v=exchg.150).aspx

Thanks,

Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

Free Windows Admin Tool Kit Click here and download it now
March 31st, 2014 8:11am

Hi Jsilveri,

You can use Sender Filtering feature:

Set-SenderFilterConfig BlockedDomains

http://technet.microsoft.com/en-us/library/bb124087(v=exchg.150).aspx

Thanks,

Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

March 31st, 2014 2:35pm

Any other suggestions or can anyone confirm this can be done with a transport rule?
Free Windows Admin Tool Kit Click here and download it now
April 8th, 2014 2:33pm

You could use this command

Set-SenderFilterConfig -BlockDomainsAndSubdomains @{Add="eu"}

With this I was able to block all domains that end in .eu on my mail servers.

you can change eu to any TLD or domain and it will block them.  If you want to add more domains in a single command add each in quotes separated by a comma.

October 10th, 2014 4:23pm

You could use this command

Set-SenderFilterConfig -BlockDomainsAndSubdomains @{Add="eu"}

With this I was able to block all domains that end in .eu on my mail servers.

you can change eu to any TLD or domain and it will block them.  If you want to add more domains in a single command add each in quotes separated by a comma.

Free Windows Admin Tool Kit Click here and download it now
April 3rd, 2015 2:10pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics