Exchange 2019:- Set the tarpit levels with PowerShell

Posted on
6,054 Points
Last Modified:
Experience Level: Intermediate
Edward van Biljon
Experienced Messaging Specialist with a demonstrated history of working in the information technology and services industry.
In this video we talk about Tarpit levels and how the delay can potentially stop spammers but if you are a hosting company that does hosted Exchange, you may not want the delay in mail as you are dealing with a large number of customers. We also show you how to view your current tarpit levels as well as advising how to change it back.

Video Steps

1. Open the Exchange management shell

Click on start and then expand Exchange Server 2016 and click on Exchange Management shell.

2. Enter the following command

Type in the following command to view your current settings: Get-ReceiveConnector | select name,tarpitinterval.

3. Change the time

Type in the following command to change your tarpit levels: Get-ReceiveConnector -Identity "EX2019A\Default Frontend EX2019A" | Set-ReceiveConnector -TarpitInterval 00:00:00 -MaxAcknowledgementDelay 00:00:00 -MaxInboundConnection unlimited -MaxInboundConnectionPerSource unlimited -MaxInboundConnectionPercentagePerSource 100
Spam and phishing are threats to every network with email. Combat these attacks with a prepended warning to your users!
The Exchange environment has thousands of users mailbox data can be stored, this article will help in finding the corrupt mailbox stored in the Exchange database and repair the database