Sunday , November 8 2020

How to Install/Enable and Configure antispam in exchange 2013

Step 1:

To Enable Antispam browse into scripts folder and Run Install-AntiSpamAgents.ps1

or Open Powershell and run the below command

& $env:ExchangeInstallPath\Scripts\Install-AntiSpamAgents.ps1


Step 2:

Restart MsExchange Transport Service to take effect

Restart-Service MSExchangeTransport


Step 3:

Add your Servers list , Which is bound to receive email

Set-TransportConfig -InternalSMTPServers @{Add=”″}


Step 4:

Now Adding two Known Spam Block list providers and set a Response message


Add-IPBlockListProvider -Name “SpamHaus IPBlockListProvider” -LookupDomain “” -BitMaskMatch

Set-IPBlockListProvider “SpamHaus IPBlockListProvider” -RejectionResponse “Your message was rejected because the IP address of the server sending your message is in the block list.”



Add-IPBlockListProvider -Name “SpamCop IPBlockListProvider” -LookupDomain “” -IPAddressesMatch “”,”″ -Priority 1

Set-IPBlockListProvider “SpamCop IPBlockListProvider” -RejectionResponse “Your message was rejected because the IP address of the server sending your message is in the block list.”


Now Antispam is Enabled and Configured in Exchange 2013

About Satheshwaran Manoharan

Satheshwaran Manoharan is an Microsoft Office Server and Services MVP , Publisher of Specialized in Office365 / Microsoft Exchange / Virtualization , Sathesh is an Messaging Expert supporting/Designing/Deploying many medium size businesses to large enterprises when it comes to Corporate messaging and Virtualization Infrastructure

Check Also

Simulate backup in a Exchange Server to Clear Logs

Simulating backup in a Exchange Server to Clear Logs happens sometimes when the backup stops …


  1. Hi Satheshwaran,

    There is no connection filtering available in Exchange 2013, unless you have an Edge 2007 or 2010 running.

    IP Allow lists and providers are part of the connection filter agent.


  2. hey,
    i did not understand if conection filter is not there in exchange 2013 how you can configure RBL for exchange 2013 ?
    and the above commands should be run on CAS or Mailbox Servers ?
    as spam filter agents are on mailbox server i think.

  3. Quite helpful. Appreciated Satheshwaran

  4. Really good, thanks!

  5. How i can disable this afterwards?

  6. TLD (Top Level Domain) spam is not resolve with this configuration.
    Different extensions (,,
    Any clues???

  7. Dr Christopher Spencer

    I have installed anti-spam as per the above instructions, now none of my users are getting any email at all. I have tried reversing the instructions and uninstalling anti-spam and my users still get no email at all. Can someone please provide some assistance on this??

  8. Is perfectly possible to configure this settings on EDGE 2013 Role.

  9. How do I tighten the SCL ratings?

  10. The cost of employee benefits and compensation is a
    cost of doing business, and as other prices of doing business increase, so does the accompanying cost of offering such programs.
    Jumping too the conclusion that the electronic cigarrette was the cause
    of the fire before it is confirmed by the fire department investigator
    could present a risk for patients of the hospital.

    While there are lots of methods that aim to help people quit smoking like nicotine
    lozenges, chewing gum, counselling, patches and other cessation methods, one significant alternative is hypnosis or hypnotherapy.

  11. apprendre le chinois

    If you desire to obtain a great deal from this post then you have to apply these methods
    to your won web site.

  12. rumoquin n.f side effects

    I couldn’t refrain from commenting. Well written!

  13. Wow, that’s what I was searching for, what a data!
    existing here at this web site, thanks admin of this web site.

  14. According to CommexFX, buyers have been presented the opportunity to
    manage reports from your convenience of the house or office by the climb of
    Internet trading.

  15. Awesome post.

  16. chat

    If you wish for to take much from this paragraph then you have to
    apply such methods to your won webpage.

  17. Hi there friends, its wonderful piece of writing about tutoringand completely explained, keep it up all the time.

  18. 3202 white pill,

    It’s amazing for me to have a site, which is useful
    in support of my know-how. thanks admin

  19. Useful info. Lucky me I found your site by chance, and I’m stunned why this twist of fate did not took place earlier!
    I bookmarked it.

  20. Sibusiso Ntsaluba

    Thanks Man

  21. Skype has opened its web-based consumer beta towards the
    entire world, after establishing it extensively in the
    U.S. and U.K. previously this four weeks. Skype for Website
    also now supports Chromebook and Linux for immediate text messaging connection (no voice and video
    yet, those call for a connect-in installing).

    The increase from the beta adds help for an extended list of spoken languages to aid bolster that worldwide functionality

  22. Hello very cool site!! Guy .. Excellent ..

    Superb .. I’ll bookmark your web site and take the feeds additionally?
    I’m glad to search out so many helpful information right here in the submit, we need
    work out more techniques in this regard,
    thank you for sharing. . . . . .

Leave a Reply

Your email address will not be published.