Block top level domain

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,
tech1984Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

enzogoyCommented:
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
tech1984Author Commented:
I tried to add the ".ru" domain and it gives an error.  Can you give an example of syntax to add this.
0
enzogoyCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

tech1984Author Commented:
So am I understanding you correctly when you say that you can't block a top level domain?
0
cristidesCommented:
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
tech1984Author Commented:
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
cristidesCommented:
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
cristidesCommented:
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
RJ_EmmettCommented:
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
njwireheadCommented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.