{"id":2184,"date":"2017-11-09T12:45:02","date_gmt":"2017-11-09T12:45:02","guid":{"rendered":"http:\/\/galhano.com\/blog\/?p=2184"},"modified":"2017-11-09T12:45:02","modified_gmt":"2017-11-09T12:45:02","slug":"enable-antispam-functionality-on-mailbox-servers","status":"publish","type":"post","link":"https:\/\/galhano.com\/blog\/?p=2184","title":{"rendered":"Enable antispam functionality on Mailbox servers"},"content":{"rendered":"<p><em><strong>Applies to: <\/strong>Exchange Server 2016<\/em><\/p>\n<p><em><strong>Topic Last Modified: <\/strong>2016-03-28<\/em><\/p>\n<p>Use the <code>Install-AntispamAgents.ps1<\/code> PowerShell script to install and enable the built-in Exchange antispam agents on a Mailbox server.<\/p>\n<p>The following antispam agents are available in the Transport service on Exchange 2016 Mailbox servers, but they aren&#8217;t installed by default:<\/p>\n<ul>\n<li>Content Filter agent<\/li>\n<li>Sender Filter agent<\/li>\n<li>Sender ID agent<\/li>\n<li>Protocol Analysis agent for sender reputation<\/li>\n<\/ul>\n<p>You can install these antispam agents on a Mailbox server by using an Exchange Management Shell script, which is important if these agents are your only defense to help prevent spam. Typically, you don&#8217;t need to install the antispam agents on a Mailbox server when your organization uses other types of antispam filtering on incoming mail.<\/p>\n<div class=\"alert\">\n<div class=\"contentTableWrapper\">\n<table summary=\"table\">\n<tbody>\n<tr>\n<th scope=\"col\" align=\"left\"><img decoding=\"async\" id=\"note\" class=\"cl_IC101471\" title=\"note\" src=\"https:\/\/i-technet.sec.s-msft.com\/areas\/global\/content\/clear.gif\" alt=\"note\" \/>Note:<\/th>\n<\/tr>\n<tr>\n<td>Although the Recipient Filter agent is available on Mailbox servers, you shouldn&#8217;t configure it. When recipient filtering on a Mailbox server detects one invalid or blocked recipient in a message that contains other valid recipients, the message is rejected. The Recipient Filter agent is enabled when you install the antispam agents on a Mailbox server, but it isn&#8217;t configured to block any recipients. For more information, see <a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/bb125187(v=exchg.160).aspx\">Recipient filtering procedures on Edge Transport servers<\/a>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<div>\n<div><a class=\"LW_CollapsibleArea_TitleAhref\" title=\"\" role=\"heading\"><span class=\"LW_CollapsibleArea_Title\">What do you need to know before you begin?<\/span><\/a><\/p>\n<div id=\"Anchor_0\" class=\"LW_CollapsibleArea_Anchor_Div\"><\/div>\n<div class=\"LW_CollapsibleArea_HrDiv\"><\/div>\n<\/div>\n<div class=\"sectionblock\">\n<ul>\n<li>Estimated time to complete this task: 15 minutes<\/li>\n<li>You can only use PowerShell to perform this procedure.\u00a0To learn how to open the Exchange Management Shell in your on-premises Exchange organization, see <a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/dd638134(v=exchg.160).aspx\">Open the Exchange Management Shell<\/a>.<\/li>\n<li>The Connection Filtering agent and the Attachment Filtering agent aren&#8217;t available on Mailbox servers. They&#8217;re only available on Edge Transport servers, and they&#8217;re installed and enabled there by default. However, the Malware agent is installed and enabled by default on Mailbox servers. For more information, see <a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/jj150547(v=exchg.160).aspx\">Anti-malware protection<\/a>.<\/li>\n<li>If you have other Exchange antispam agents operating on the messages before they reach the Mailbox server (for example, an Edge Transport server in the perimeter network), the antispam agents on the Mailbox server recognize the antispam X-header values that already exist in messages, and those messages pass through without being scanned again.<\/li>\n<li>You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the &#8220;Transport configuration&#8221; entry in the <a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/dd638213(v=exchg.160).aspx\">Mail flow permissions<\/a> topic.<\/li>\n<li>For information about keyboard shortcuts that may apply to the procedures in this topic, see <a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/jj150484(v=exchg.160).aspx\">Keyboard shortcuts in the Exchange admin center<\/a>.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<div class=\"alert\">\n<div class=\"contentTableWrapper\">\n<table summary=\"table\">\n<tbody>\n<tr>\n<th scope=\"col\" align=\"left\"><img decoding=\"async\" id=\"tip\" title=\"tip\" src=\"https:\/\/i-technet.sec.s-msft.com\/dynimg\/IC115537.gif\" alt=\"tip\" \/>Tip:<\/th>\n<\/tr>\n<tr>\n<td>Having problems? Ask for help in the Exchange forums. Visit the forums at: <a href=\"http:\/\/go.microsoft.com\/fwlink\/p\/?linkId=60612\">Exchange Server<\/a>, <a href=\"http:\/\/go.microsoft.com\/fwlink\/p\/?linkId=267542\">Exchange Online<\/a>, or <a href=\"http:\/\/go.microsoft.com\/fwlink\/p\/?linkId=285351\">Exchange Online Protection<\/a>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><!--more--><\/p>\n<div>\n<div><a class=\"LW_CollapsibleArea_TitleAhref\" title=\"\" role=\"heading\"><span class=\"LW_CollapsibleArea_Title\">How do you do this?<\/span><\/a><\/p>\n<div id=\"Anchor_1\" class=\"LW_CollapsibleArea_Anchor_Div active\"><\/div>\n<div class=\"LW_CollapsibleArea_HrDiv\"><\/div>\n<\/div>\n<div class=\"sectionblock\">\n<div>\n<div><a class=\"LW_CollapsibleArea_TitleAhref\" title=\"Collapse\" role=\"heading\"><span class=\"LW_CollapsibleArea_Title\">Step 1: Run the Install-AntispamAgents.ps1 PowerShell script<\/span><\/a><\/p>\n<div class=\"LW_CollapsibleArea_HrDiv\"><\/div>\n<\/div>\n<div class=\"sectionblock\">\n<p>Run the following command in the Exchange Management Shell on the Mailbox server:<\/p>\n<div id=\"code-snippet-1\" class=\"codeSnippetContainer\">\n<div class=\"codeSnippetContainerTabs\"><\/div>\n<div class=\"codeSnippetContainerCodeContainer\">\n<div class=\"codeSnippetToolBar\"><\/div>\n<div id=\"CodeSnippetContainerCode_3debd639-2b9a-484b-b2da-51deccf27b98\" class=\"codeSnippetContainerCode\" dir=\"ltr\">\n<div>\n<pre>&amp; $env:ExchangeInstallPath\\Scripts\\Install-AntiSpamAgents.ps1\r\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div>\n<div><a class=\"LW_CollapsibleArea_TitleAhref\" title=\"Collapse\" role=\"heading\"><span class=\"LW_CollapsibleArea_Title\">How do you know this step worked?<\/span><\/a><\/p>\n<div class=\"LW_CollapsibleArea_HrDiv\"><\/div>\n<\/div>\n<div class=\"sectionblock\">\n<p>You know this step worked if the script runs without errors and asks you to restart the Microsoft Exchange Transport service. The output looks like this:<\/p>\n<div id=\"code-snippet-2\" class=\"codeSnippetContainer\">\n<div class=\"codeSnippetContainerTabs\"><\/div>\n<div class=\"codeSnippetContainerCodeContainer\">\n<div class=\"codeSnippetToolBar\"><\/div>\n<div id=\"CodeSnippetContainerCode_6e4ae681-c3a7-4390-8bed-4e9fed35fde1\" class=\"codeSnippetContainerCode\" dir=\"ltr\">\n<div>\n<pre>WARNING: Please exit Windows PowerShell to complete the installation.\r\nWARNING: The following service restart is required for the change(s) to take effect : MSExchangeTransport\r\nWARNING: The following service restart is required for the change(s) to take effect : MSExchangeTransport\r\n\r\nIdentity                                           Enabled         Priority\r\n--------                                           -------         --------\r\nContent Filter Agent                               True            8\r\nWARNING: Please exit Windows PowerShell to complete the installation.\r\nWARNING: The following service restart is required for the change(s) to take effect : MSExchangeTransport\r\nWARNING: The following service restart is required for the change(s) to take effect : MSExchangeTransport\r\nSender Id Agent                                    True            9\r\nWARNING: Please exit Windows PowerShell to complete the installation.\r\nWARNING: The following service restart is required for the change(s) to take effect : MSExchangeTransport\r\nWARNING: The following service restart is required for the change(s) to take effect : MSExchangeTransport\r\nSender Filter Agent                                True            10\r\nWARNING: Please exit Windows PowerShell to complete the installation.\r\nWARNING: The following service restart is required for the change(s) to take effect : MSExchangeTransport\r\nWARNING: The following service restart is required for the change(s) to take effect : MSExchangeTransport\r\nRecipient Filter Agent                             True            11\r\nWARNING: Please exit Windows PowerShell to complete the installation.\r\nWARNING: The following service restart is required for the change(s) to take effect : MSExchangeTransport\r\nWARNING: The following service restart is required for the change(s) to take effect : MSExchangeTransport\r\nProtocol Analysis Agent                            True            12\r\n\r\nWARNING: The agents listed above have been installed. Please restart the Microsoft Exchange Transport service for\r\nchanges to take effect.\r\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/bb201691(v=exchg.160).aspx#top\">Return to top<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div>\n<div><a class=\"LW_CollapsibleArea_TitleAhref\" title=\"Expand\" role=\"heading\"><span class=\"LW_CollapsibleArea_Title\">Step 2: Restart the Microsoft Exchange Transport service<\/span><\/a><\/p>\n<div class=\"LW_CollapsibleArea_HrDiv\"><\/div>\n<\/div>\n<div class=\"sectionnone\">\n<p>Run the following command in the Exchange Management Shell on the Mailbox server:<\/p>\n<div id=\"code-snippet-3\" class=\"codeSnippetContainer\">\n<div class=\"codeSnippetContainerTabs\"><\/div>\n<div class=\"codeSnippetContainerCodeContainer\">\n<div class=\"codeSnippetToolBar\"><\/div>\n<div id=\"CodeSnippetContainerCode_d4ba1aaf-3802-4f78-b514-e3b5bc0de759\" class=\"codeSnippetContainerCode\" dir=\"ltr\">\n<div>\n<pre>Restart-Service MSExchangeTransport\r\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div>\n<div><a class=\"LW_CollapsibleArea_TitleAhref\" title=\"Collapse\" role=\"heading\"><span class=\"LW_CollapsibleArea_Title\">How do you know this step worked?<\/span><\/a><\/p>\n<div class=\"LW_CollapsibleArea_HrDiv\"><\/div>\n<\/div>\n<div class=\"sectionblock\">\n<p>You know this step worked if the Microsoft Exchange Transport service restarts without errors. The output looks like this:<\/p>\n<div id=\"code-snippet-4\" class=\"codeSnippetContainer\">\n<div class=\"codeSnippetContainerTabs\"><\/div>\n<div class=\"codeSnippetContainerCodeContainer\">\n<div class=\"codeSnippetToolBar\"><\/div>\n<div id=\"CodeSnippetContainerCode_43a65654-6bad-438d-bdb0-8d65757ee52a\" class=\"codeSnippetContainerCode\" dir=\"ltr\">\n<div>\n<pre>WARNING: Waiting for service 'Microsoft Exchange Transport (MSExchangeTransport)' to start...\r\nWARNING: Waiting for service 'Microsoft Exchange Transport (MSExchangeTransport)' to start...\r\nWARNING: Waiting for service 'Microsoft Exchange Transport (MSExchangeTransport)' to start...\r\nWARNING: Waiting for service 'Microsoft Exchange Transport (MSExchangeTransport)' to start...\r\nWARNING: Waiting for service 'Microsoft Exchange Transport (MSExchangeTransport)' to start...\r\nWARNING: Waiting for service 'Microsoft Exchange Transport (MSExchangeTransport)' to start...\r\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/bb201691(v=exchg.160).aspx#top\">Return to top<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div>\n<div><a class=\"LW_CollapsibleArea_TitleAhref\" title=\"Collapse\" role=\"heading\"><span class=\"LW_CollapsibleArea_Title\">Step 3: Specify the internal SMTP servers in your organization<\/span><\/a><\/p>\n<div class=\"LW_CollapsibleArea_HrDiv\"><\/div>\n<\/div>\n<div class=\"sectionblock\">\n<p>You need to specify the IP addresses of every internal SMTP server that should be ignored by the Sender ID agent. In fact, you need to specify the IP address of at least one internal SMTP server. If the Mailbox server where you&#8217;re running the antispam agents is the only SMTP server in your organization, specify the IP address of that computer.<\/p>\n<p>To add the IP addresses of internal SMTP servers without affecting any existing values, run the following command in the Exchange Management Shell on the Mailbox server:<\/p>\n<div id=\"code-snippet-5\" class=\"codeSnippetContainer\">\n<div class=\"codeSnippetContainerTabs\"><\/div>\n<div class=\"codeSnippetContainerCodeContainer\">\n<div class=\"codeSnippetToolBar\"><\/div>\n<div id=\"CodeSnippetContainerCode_9caa9637-86c9-4b17-a651-f2d091a01929\" class=\"codeSnippetContainerCode\" dir=\"ltr\">\n<div>\n<pre>Set-TransportConfig -InternalSMTPServers @{Add=\"&lt;ip address1&gt;\",\"&lt;ip address2&gt;\"...}\r\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>This example adds the internal SMTP server addresses 10.0.1.10 and 10.0.1.11 to the transport configuration of your organization.<\/p>\n<div id=\"code-snippet-6\" class=\"codeSnippetContainer\">\n<div class=\"codeSnippetContainerTabs\"><\/div>\n<div class=\"codeSnippetContainerCodeContainer\">\n<div class=\"codeSnippetToolBar\"><\/div>\n<div id=\"CodeSnippetContainerCode_5eb1b7ae-ee24-48c0-a9ba-2832ee46a05f\" class=\"codeSnippetContainerCode\" dir=\"ltr\">\n<div>\n<pre>Set-TransportConfig -InternalSMTPServers @{Add=\"10.0.1.10\",\"10.0.1.11\"}\r\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div>\n<div><a class=\"LW_CollapsibleArea_TitleAhref\" title=\"Collapse\" role=\"heading\"><span class=\"LW_CollapsibleArea_Title\">How do you know this step worked?<\/span><\/a><\/p>\n<div class=\"LW_CollapsibleArea_HrDiv\"><\/div>\n<\/div>\n<div class=\"sectionblock\">\n<p>To verify that you have successfully specified the IP address of at least one internal SMTP server, run the following command in the Exchange Management Shell on the Mailbox server, and verify that the IP address of at least one valid internal SMTP server is displayed.<\/p>\n<div id=\"code-snippet-7\" class=\"codeSnippetContainer\">\n<div class=\"codeSnippetContainerTabs\"><\/div>\n<div class=\"codeSnippetContainerCodeContainer\">\n<div class=\"codeSnippetToolBar\"><\/div>\n<div id=\"CodeSnippetContainerCode_b2d37135-40cc-4e51-8d89-9b12076db4c9\" class=\"codeSnippetContainerCode\" dir=\"ltr\">\n<div>\n<pre>Get-TransportConfig | Format-List InternalSMTPServers\r\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/bb201691(v=exchg.160).aspx#top\">Return to top<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div>\n<div><a class=\"LW_CollapsibleArea_TitleAhref\" title=\"Collapse\" role=\"heading\"><span class=\"LW_CollapsibleArea_Title\">Step 4: Next steps<\/span><\/a><\/p>\n<div class=\"LW_CollapsibleArea_HrDiv\"><\/div>\n<\/div>\n<div class=\"sectionblock\">\n<ul>\n<li>The Content Filter agent, Sender ID agent, Sender Filter agent, and Protocol Analysis (sender reputation) agent should now be installed and running on the Mailbox server. To verify this, run the following commands in the Exchange Management Shell on the Mailbox server:\n<div id=\"code-snippet-8\" class=\"codeSnippetContainer\">\n<div class=\"codeSnippetContainerTabs\"><\/div>\n<div class=\"codeSnippetContainerCodeContainer\">\n<div class=\"codeSnippetToolBar\"><\/div>\n<div id=\"CodeSnippetContainerCode_e0248848-54ef-46fb-b020-b91413b84559\" class=\"codeSnippetContainerCode\" dir=\"ltr\">\n<div>\n<pre>Get-TransportAgent\r\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"code-snippet-9\" class=\"codeSnippetContainer\">\n<div class=\"codeSnippetContainerTabs\"><\/div>\n<div class=\"codeSnippetContainerCodeContainer\">\n<div class=\"codeSnippetToolBar\"><\/div>\n<div id=\"CodeSnippetContainerCode_90ba6379-c135-49b1-80ab-cf993cc19957\" class=\"codeSnippetContainerCode\" dir=\"ltr\">\n<div>\n<pre>Get-ContentFilterConfig | Format-Table Name,Enabled; Get-SenderFilterConfig | Format-Table Name,Enabled; Get-SenderIDConfig | Format-Table Name,Enabled; Get-SenderReputationConfig | Format-Table Name,Enabled\r\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/li>\n<li>To see detailed information about the configuration of each agent, run the following commands:\n<div id=\"code-snippet-10\" class=\"codeSnippetContainer\">\n<div class=\"codeSnippetContainerTabs\"><\/div>\n<div class=\"codeSnippetContainerCodeContainer\">\n<div class=\"codeSnippetToolBar\"><\/div>\n<div id=\"CodeSnippetContainerCode_6dbf3080-3b9f-4567-831b-cf45877d1204\" class=\"codeSnippetContainerCode\" dir=\"ltr\">\n<div>\n<pre>Get-ContentFilterConfig | Format-List *Enabled,RejectionResponse,*Postmark*,Bypassed*,Quarantine*;\r\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"code-snippet-11\" class=\"codeSnippetContainer\">\n<div class=\"codeSnippetContainerTabs\"><\/div>\n<div class=\"codeSnippetContainerCodeContainer\">\n<div class=\"codeSnippetToolBar\"><\/div>\n<div id=\"CodeSnippetContainerCode_45c384e6-4a9e-4177-91e2-15107de17674\" class=\"codeSnippetContainerCode\" dir=\"ltr\">\n<div>\n<pre>Get-SenderFilterConfig | Format-List *Enabled,*Block*\r\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"code-snippet-12\" class=\"codeSnippetContainer\">\n<div class=\"codeSnippetContainerTabs\"><\/div>\n<div class=\"codeSnippetContainerCodeContainer\">\n<div class=\"codeSnippetToolBar\"><\/div>\n<div id=\"CodeSnippetContainerCode_f79c65d4-eb96-4194-9a1e-dd823a915b35\" class=\"codeSnippetContainerCode\" dir=\"ltr\">\n<div>\n<pre>Get-SenderIDConfig | Format-List *Enabled*,*Action,Bypassed*\r\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"code-snippet-13\" class=\"codeSnippetContainer\">\n<div class=\"codeSnippetContainerTabs\"><\/div>\n<div class=\"codeSnippetContainerCodeContainer\">\n<div class=\"codeSnippetToolBar\"><\/div>\n<div id=\"CodeSnippetContainerCode_a4ad7532-6cd2-47cc-a07c-39abb3b4b15e\" class=\"codeSnippetContainerCode\" dir=\"ltr\">\n<div>\n<pre>Get-SenderReputationConfig | Format-List *Enabled*,*Proxy*,*Block*,*Ports*\r\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/li>\n<li>To configure each agent, see the following topics:\n<ul>\n<li><a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/aa995953(v=exchg.160).aspx\">Content filtering procedures<\/a><\/li>\n<li><a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/aa998280(v=exchg.160).aspx\">Safelist aggregation procedures<\/a><\/li>\n<li><a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/dn467930(v=exchg.160).aspx\">Configure content filtering to use safe domain data<\/a><\/li>\n<li><a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/aa995744(v=exchg.160).aspx\">Spam confidence level (SCL) threshold<\/a><\/li>\n<li><a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/bb124087(v=exchg.160).aspx\">Sender filtering procedures<\/a><\/li>\n<li><a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/aa997136(v=exchg.160).aspx\">Sender ID procedures<\/a><\/li>\n<li><a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/bb125186(v=exchg.160).aspx\">Sender reputation procedures<\/a><\/li>\n<\/ul>\n<\/li>\n<li>By default, the Content Filter agent, the Sender Filter agent, and the Sender ID agent record their activities in the antispam agent log on the Mailbox server. You can verify that these antispam agents are working when information is written to the log. To see the location and configuration of the log, run the following command in the Exchange Management Shell on the Mailbox server:\n<div id=\"code-snippet-14\" class=\"codeSnippetContainer\">\n<div class=\"codeSnippetToolBar\"><\/div>\n<div class=\"codeSnippetContainerCodeContainer\">\n<div id=\"CodeSnippetContainerCode_c7a252a0-95b7-4a57-9874-a6047ecdb756\" class=\"codeSnippetContainerCode\" dir=\"ltr\">\n<div>\n<pre>Get-TransportService | Format-List AgentLog*\r\n<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>For instructions on how to configure the log, see <a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/bb691337(v=exchg.160).aspx\">Configure anti-spam agent logging<\/a>.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>https:\/\/technet.microsoft.com\/en-us\/library\/bb201691(v=exchg.160).aspx<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Applies to: Exchange Server 2016 Topic Last Modified: 2016-03-28 Use the Install-AntispamAgents.ps1 PowerShell script to install and enable the built-in Exchange antispam agents on a Mailbox server. The following antispam agents are available in the Transport service on Exchange 2016 Mailbox servers, but they aren&#8217;t installed by default: Content Filter agent Sender Filter agent Sender [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"close","ping_status":"close","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,22,161],"tags":[],"class_list":["post-2184","post","type-post","status-publish","format-standard","hentry","category-exchange","category-microsoft","category-powershell","author-admin"],"_links":{"self":[{"href":"https:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2184","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2184"}],"version-history":[{"count":1,"href":"https:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2184\/revisions"}],"predecessor-version":[{"id":2186,"href":"https:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2184\/revisions\/2186"}],"wp:attachment":[{"href":"https:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2184"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}