Improve company productivity with a Business Account.Sign Up

x
?
Solved

Exchange 2013, how to disable anti-spam?

Posted on 2013-12-11
6
Medium Priority
?
8,002 Views
Last Modified: 2016-03-30
We are using Exchange 2013 on-premise, it is a recent migration.  Anti-Spam and Anti-Malware is configured on the Exchange server but we will move to another solution (possibly Exchange On-line Protection). It makes sense to disable at least the Anti_Spam on the Exchange server because it has been detecting false positives and this is a pain to work with. However, the only way to disable it seems to be to go through many cmdlets. Is there an easier way? Maybe a complete script?

Thanks.
0
Comment
Question by:jostick
6 Comments
 
LVL 19

Expert Comment

by:jss1199
ID: 39712375
To remove the antispam agent completely, open the exchange shell, change directory to the scripts folder and run "uninstall-AntispamAgents.ps1 "
0
 
LVL 53

Accepted Solution

by:
Will Szymkowski earned 750 total points
ID: 39712385
All you need to do is run the following command in powershell...

.\uninstall-AntispamAgents.ps1

Make sure that you change the directory to point to the scripts folder on the Exchange server.

default directory is "C:\Program Files\Microsoft\Exchange Server\V15\Scripts"

Will.
0
 
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 39712392
If you disable the anti-spam agents completely you will remove the recipient filter option. That could mean you are responsible for backscatter which can get you blacklisted.

Simon.
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  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:jostick
ID: 39716805
So just keep the recipient filter if we use EOP?
0
 
LVL 63

Assisted Solution

by:Simon Butler (Sembee)
Simon Butler (Sembee) earned 750 total points
ID: 39716851
I would, unless the other service has a list of active users itself.

Simon.
0
 

Expert Comment

by:XanderJose
ID: 41527938
& $env:ExchangeInstallPath\Scripts\uninstall-AntispamAgents.ps1

Open in new window

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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.

Join & Write a Comment

Configure external lookups on for external mail flow on Exchange 2013 and Exchange 2016.
The article is for all the Exchange users seeking smooth and effective EDB to PST conversion. Exchange Server is the most widely used platform for messaging with collaborative sharing, Exchange online, secure working environment, etc.
To export Lotus Notes to Outlook PST or Exchange and Domino Server files to Exchange Server or PST files with ease, go for Kernel for Lotus Notes to Outlook conversion tool. Through the video, you can watch the conversion process. A common user with…
Watch the video to know the process of migration of Exchange or Office 365 mailboxes in absence of MS Outlook. It is an eminent tool which can easily migrate Public, Archive user mailboxes from one another Exchange server and Office 365. Kernel Migr…

606 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