Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Block top level domain

Posted on 2008-10-21
10
Medium Priority
?
6,749 Views
Last Modified: 2014-08-15
I would like to block a top level domain at our Exchange server.  Particularly the ".ru" domain.  We only get spam from here.  Can I do this at the server level?

Thanks,
0
Comment
Question by:tech1984
  • 3
  • 3
  • 2
  • +2
10 Comments
 
LVL 7

Expert Comment

by:enzogoy
ID: 22772054
In Exchange Server open Exchange Management Console:  

Click on Organization Configuration => Hub Transport => Anti-Spam => Sender Filtering => Blocked Senders => Add => (You can choose by email address or by domain from here).

After finish, enable the Sender Filtering else it wont work.

enz
0
 

Author Comment

by:tech1984
ID: 22781854
I tried to add the ".ru" domain and it gives an error.  Can you give an example of syntax to add this.
0
 
LVL 7

Accepted Solution

by:
enzogoy earned 1200 total points
ID: 22782599
According to Microsoft, wildcard character * are permitted to use but It doesn't seem to work.

I don't think we allow to use *.ru as a domain in the sender filter block.  You need to find out the domain name and put it in there.  Like spamdomain.ru, domain.ru  etc ...

More information about blocking sender or domain through EMS
http://technet.microsoft.com/en-us/library/bb123706(EXCHG.80).aspx

enz
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

Author Comment

by:tech1984
ID: 22795810
So am I understanding you correctly when you say that you can't block a top level domain?
0
 
LVL 1

Expert Comment

by:cristides
ID: 22795898
In the Content Filtering properties window, you can add custom terms to ensure that certain messages are either blocked or allowed to pass. A pharmaceutical distributor may want to whitelist the term Viagra, for example. In addition, recipient addresses can be listed as exceptions in the filtering process, such as postmaster@domain.com. New to Exchange 2007 is the ability to whitelist certain senders or domains bypassing content filtering. This is not available in the EMC, but the cmdlets are intuitive. To whitelist an SMTP address, the following can be run from the EMS:

>Set-ContentFilterConfig -BypassedSenders address@domain.com
0
 

Author Comment

by:tech1984
ID: 22796022
cristides:
I have already done this for domains that I wanted to allow through.  My question is how to block all mail from Russia or another top level domain that I do not want to come in.
0
 
LVL 1

Assisted Solution

by:cristides
cristides earned 800 total points
ID: 22796404
You can't block email adress from some top level domain with exchange, i think if you apply a rule like '*ru' will work but if you will have some problems blocking other domains. Because on exchange is not allowed to use '.' before or after '*'. The best way is to block ip's from russia  and this is the best way.
Or to implement SPF for domains, because not all domains have implemented this yet.
0
 
LVL 1

Expert Comment

by:cristides
ID: 22796672
Hi tech1984,
check this link, maybe help you : http://auroracode.blogspot.com/ .
Also if you want to block top level domain you can do that on office outlook, creating a rule (http://www.petri.co.il/filtering-email-by-region-outlook-2003-2007-exchange.htm)
0
 

Expert Comment

by:RJ_Emmett
ID: 26550870
All,

I was looking over this solution today and did the following.

In Exchange Server open Exchange Management Console:  

Click on Organization Configuration => Hub Transport => Anti-Spam => Sender Filtering => Blocked Senders => Add =>

I wasn't able to add the .ru but I was able to add just the ru  (no leading period) and the "include all subdomains" box checked.
my testing hasn't proven anything yet, but I haven't seen any SPAM asking me if I'm interested in a Russian bride.


0
 

Expert Comment

by:njwirehead
ID: 40263165
I would like to do the same thing -- but at the same time I need to also whitelist one specific subdomain.
I know how to block all ".ru" domains.
Is there a way to block all ".ru" but also whitelist "xyz.ru" at the same time?
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With so many activities to perform, Exchange administrators are always busy in organizations. If everything, including Exchange Servers, Outlook clients, and Office 365 accounts work without any issues, they can sit and relax. But unfortunately, it…
Steps to fix error: “Couldn’t mount the database that you specified. Specified database: HU-DB; Error code: An Active Manager operation fail”
how to add IIS SMTP to handle application/Scanner relays into office 365.
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

879 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question