Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Exchange 2013, how to disable anti-spam?

Posted on 2013-12-11
6
Medium Priority
?
7,389 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
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 

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

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you looking for the options available for exporting EDB files to PST? You may be confused as they are different in different Exchange versions. Here, I will discuss some options available.
Mailbox Corruption is a nightmare every Exchange DBA wishes he never has. Recovering from it can be super-hectic if not entirely futile. And though techniques like the New-MailboxRepairRequest cmdlet have been designed to help with fixing minor corr…
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

916 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