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.
jostickIT ManagerAsked:
Who is Participating?
 
Will SzymkowskiSenior 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
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.

 
jostickIT ManagerAuthor Commented:
So just keep the recipient filter if we use EOP?
0
 
Simon Butler (Sembee)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
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.

All Courses

From novice to tech pro — start learning today.