Monday , June 26 2017

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

clip_image001

Step 2:

Restart MsExchange Transport Service to take effect

Restart-Service MSExchangeTransport

clip_image002

Step 3:

Add your Servers list , Which is bound to receive email

Set-TransportConfig -InternalSMTPServers @{Add="192.168.0.10"}

clip_image003

Step 4:

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

IPBlockListProvider1

Add-IPBlockListProvider -Name "SpamHaus IPBlockListProvider" -LookupDomain "zen.spamhaus.org" -BitMaskMatch 127.0.0.1

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

clip_image004

IPBlockListProvider2

Add-IPBlockListProvider -Name "SpamCop IPBlockListProvider" -LookupDomain "bl.spamcop.net" -IPAddressesMatch "127.0.0.2","127.0.0.5" -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."

clip_image005

Now Antispam is Enabled and Configured in Exchange 2013

About Satheshwaran Manoharan

Satheshwaran Manoharan is an Microsoft Exchange Server MVP , Publisher of CareExchange.in Supporting/Deploying/Designing Microsoft Exchange for some years. Extensive experience on Microsoft Technologies.

Check Also

SCCM Updates and Services Keep Downloading

Log Files Location – C:\Program Files\Microsoft Configuration Manager\Logs\dmpdownloader.log — Logs –  Failed to call Initialize. ...

28 comments

  1. Hi Satheshwaran,

    There is no connection filtering available in Exchange 2013, unless you have an Edge 2007 or 2010 running.
    http://howexchangeworks.com/2013/06/connection-filtering-in-exchange-2013.html

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

    Thanks,
    Rajith.

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

  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 (xx@yy.zz.ru, xx@yy.zz.me, xx@yy.zz.us)
    Any clues???

  7. 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. If you desire to obtain a great deal from this post then you have to apply these methods
    to your won web site.

  12. 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. If you wish for to take much from this paragraph then you have to
    apply such methods to your won webpage.

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

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

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

  19. This post is worth everyone’s attention. How can I find out
    more?

Leave a Reply

Your email address will not be published.