By default hub transport servers have anti-spam features disabled. In certain situations, for example in small organizations where you don’t plan to use edge transport servers, you would want to enable this functionality. To do so, follow these steps:

  1. Open up Exchange Management Shell
  2. Position to %system drive%/Program Files\Microsoft\Exchange Server\V14\Scripts folder and run the following commands:
  3. ./install-AntispamAgents.ps1
    Restart-Service MSExchangeTransport

  4. As final step, to make all anti-spam features work correctly, Exchange needs to know about your SMTP servers so you need to run (šut your own IP addresses here, you can also write address ranges like
  5. Set-TransportConfig -InternalSMTPServers,

    Last step can also be done through Exchange Management Console. Anti-spam features should now be also visible in it. To further manage anti-spam features refer to Technet.