Exchange 2013, how to disable anti-spam?

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.
jostickAsked:
Who is Participating?
 
Will SzymkowskiConnect With a Mentor Senior Solution ArchitectCommented:
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
 
jss1199Commented:
To remove the antispam agent completely, open the exchange shell, change directory to the scripts folder and run "uninstall-AntispamAgents.ps1 "
0
 
Simon Butler (Sembee)ConsultantCommented:
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 tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

 
jostickAuthor Commented:
So just keep the recipient filter if we use EOP?
0
 
Simon Butler (Sembee)Connect With a Mentor ConsultantCommented:
I would, unless the other service has a list of active users itself.

Simon.
0
 
XanderJoseITCommented:
& $env:ExchangeInstallPath\Scripts\uninstall-AntispamAgents.ps1

Open in new window

0
All Courses

From novice to tech pro — start learning today.