Applies to: Exchange Server 2007 SP3, Exchange Server
2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007
Topic Last Modified: 2007-08-22
This topic describes how to use the Exchange Management Console and the Exchange Management Shell to set the connection limits on the Microsoft Exchange Server 2007 computer that has the Internet Message Access Protocol version 4rev1 (IMAP4) service enabled. In the original release (RTM) version of Exchange 2007, you could only set connection limits for IMAP4 by using the Exchange Management Shell. In Exchange 2007 Service Pack 1 (SP1), you can also set connection limits for IMAP4 by using the Exchange Management Console. Steps for doing this are included in this topic.
When you specify connection limits for IMAP4, you can select connection limits for the server, IP address, or a specific user.
The following table describes the three settings for connection limits.
Descriptions of commands for setting connection limits for IMAP4
Command | Description | Default Value | Limits |
---|---|---|---|
MaxConnections |
Specifies the total number of connections the specified server will accept. This includes authenticated and unauthenticated connections. |
2,000 |
1-25,000 |
MaxConnectionsFromSingleIP |
Specifies the number of connections that the server will accept from a single IP address. |
20 |
1-1,000 |
MaxConnectionsPerUser |
Specifies the maximum number of connections that the server will accept from a particular user. |
10 |
1-1,000 |
Before You Begin
To perform this procedure, the account you use must be delegated the Exchange Server Administrator role and membership in the local Administrators group for the target server.
For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.
Note: |
---|
After you set connection limits, you must restart the IMAP4 service. For more information about how to restart the IMAP4 service, see How to Start and Stop the IMAP4 Service. |
Procedure
Exchange 2007 SP1
To use the Exchange Management Console to set IMAP4 connection limits for a server, IP address, or a user
-
In the console tree, expand Server Configuration, and then click Client Access.
-
In the work pane, click the POP3 and IMAP4 tab.
-
In the work pane, select IMAP4 and then, in the result pane, click Properties.
-
On the IMAP4 Properties page, click the Connections tab.
-
Under Connection Limits, specify the following:
- To set the connection limit for a server, enter a value between
1 and 25,000 in the box next to Maximum connections.
- To set the connection limit for an IP address, enter a value
between 1 and 1,000 in the box next to Maximum connections from
a single IP address.
- To set the connection limit for a single user, enter a value
between 1 and 1,000 in the box next to Maximum connections from
a single user.
- To set the connection limit for a server, enter a value between
1 and 25,000 in the box next to Maximum connections.
-
Click Apply, and then click OK to save your changes.
To use the Exchange Management Shell to set IMAP4 connection limits for a server, IP address, or a user
-
To set the connection limit for a server, run the following command:
Copy Code Set-ImapSettings -Identity CAS01 -MaxConnections Value
-
To set the connection limit for an IP address, run the following command:
Copy Code Set-ImapSettings -Identity CAS01 -MaxConnectionsFromSingleIP Value
-
To set the connection limit for a user, run the following command:
Copy Code Set-ImapSettings -MaxConnectionsPerUser Value
For more information about syntax and parameters, see Set-IMAPSettings.
Exchange 2007 RTM
To use the Exchange Management Shell to set IMAP4 connection limits for a server, IP address, or a user
-
To set the connection limit for a server, run the following command:
Copy Code Set-ImapSettings -Identity CAS01 -MaxConnections Value
-
To set the connection limit for an IP address, run the following command:
Copy Code Set-ImapSettings -Identity CAS01 -MaxConnectionsFromSingleIP Value
-
To set the connection limit for a user, run the following command:
Copy Code Set-ImapSettings -MaxConnectionsPerUser Value
For more information about syntax and parameters, see Set-IMAPSettings (RTM).