33.5 C
Monday, July 15, 2024

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 “zen.spamhaus.org” -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 “bl.spamcop.net” -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

Satheshwaran Manoharan
Satheshwaran Manoharanhttps://www.azure365pro.com
Award-winning Technology Leader with a wealth of experience running large teams and diversified industry exposure in cloud computing. From shipping lines to rolling stocks.In-depth expertise in driving cloud adoption strategies and modernizing systems to cloud native. Specialized in Microsoft Cloud, DevOps, and Microsoft 365 Stack and conducted numerous successful projects worldwide. Also, Acting as a Technical Advisor for various start-ups.

Related Articles


  1. 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.

  2. 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??

  3. 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.

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

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

  6. 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.

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

  8. 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. . . . . .


Please enter your comment!
Please enter your name here

× How can I help you?