Solved

Exchange 2013, how to disable anti-spam?

Posted on 2013-12-11
6
5,507 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 250 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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

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 250 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

757 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now