How to MS Exchange

Evangelising about Microsoft Exchange

Configuring and managing the Pickup Directory-Part 2

Posted by Chinthaka Shameera on August 14, 2009

In this article i suppose bring down how to configure pickup directory. Ok lets began.

By default pickup directory exits on every exchange 2007 computer that has installed Edge transport and hub transport installed. You cannot configure Pickup directory using Exchange management console and you have to use Exchange management shell.

Permissions you need to configure Pickup Directory

Configuring pickup Directory the account must have delegated the fallowing

  • Exchange Server Administrator role and local Administrators group for the target server 

Note: – if you performing this procedure in edge transport server role, account must have a member of Local administrators group.

Configuring Pickup directory location 

By default pickup directory located at C:\Program Files\Microsoft\Exchange Server\TransportRoles\Pickup. the Directory must be a local to the exchange 2007 computer.

Also pickup directory must have fallowing permissions.

· Administrator: Full Control

· System: Full Control

· Network Service: Read, Write, and Delete Subfolders and Files 

You can use below command to change location of pickup directory.

Set-TransportServer <Identity> -PickupDirectoryPath <LocalFilePath>

In my case I want to change my Pickup directory location to C:\Pickup from default location. So i run below command on EMS.

Set-TransportServer Exchange01 -PickupDirectoryPath "C:\Pickup”

image

  Now we can check location of pickup directory, Run fallowing command in EMS.

Get-TransportServer -Identity "E2k7-srv01" | Fl *PickupDirectoryPath*

image

Configuring maximum size for message headers that are accepted by pickup directory. 

By default maximum size of message header is 64 KB. Messages that contain headers that are larger than the specified maximum value are rejected by the Exchange 2007 server. Keep in mind when you add to value to maximum size use fallowing Units.

  • B (bytes)
  • KB (kilobytes)
  • MB (megabytes)
  • GB (gigabytes)

To configure maximum message header of pickup directory run fallowing command in EMS.

Set-TransportServer <Identity> -PickupDirectoryMaxHeaderSize <HeaderSize>

In here I configure it to 100 Kb. I run fallowing command in EMS.

Set-TransportServer E2k7-srv01 -PickupDirectoryMaxHeaderSize 100KB

image

Now we can check maximum size message of message header, Run fallowing command in EMS.

 Get-TransportServer -Identity "E2k7-srv01" | Fl *PickupDirectoryMaxHeaderSize*

image

 Configuring the Maximum Number of Recipients for Messages That Are Accepted by the Pickup Directory

By default, the maximum number of recipients in a message that can be processed by the Pickup directory is 100. Messages that contain more recipients than the specified maximum value are rejected by the Exchange 2007 server.

You can add values 1 to 10000 for Maximum Number of Recipients for Messages.

Run the following command to set maximum number of recipients for messages.

Set-TransportServer <Identity> -PickupDirectoryMaxRecipientsPerMessage <NumberOfRecipients>

For example configure it to 200 recipients for messages.

Set-TransportServer E2k7-srv01 -PickupDirectoryMaxRecipientsPerMessage 200

Now we can check Maximum Number of Recipients for Messages, Run fallowing command in EMS.

Get-TransportServer -Identity "E2k7-srv01" | Fl *PickupDirectoryMaxRecipientsPerMessage

image

Configuring the Maximum Rate of Message Processing for the Pickup Directory

By default, the Pickup directory can process messages at a rate of 100 messages per minute. Limiting the rate of message processing helps prevent performance issues that are caused by processing lots of messages in the Pickup directory.

Run fallowing command in EMS.

Set-TransportServer <Identity> -PickupDirectoryMaxMessagesPerMinute <MessagesPerMinute>

For example, to set the maximum rate of message processing by the Pickup directory to 200 messages per minute on an Exchange 2007 computer named E2k7-srv01, run the following command:

Set-TransportServer E2k7-srv01 -PickupDirectoryMaxMessagesPerMinute 200

image

  Now we can check Maximum Rate of Message, Run fallowing command in EMS.

 image

The valid input parameter is 1 to 20000 for PickupDirectoryMaxMessagesPerMinute.Pickup directory scan pickup directory once every 5 second or 12 times per minute for new messages. That interval you cannot configure.

The rate of message processing for both the Pickup directory and Replay directory is specified by the PickupDirectoryMaxMessagesPerMinute parameter.

For more information about Set-TransportServer, fallow this TechNet article

 

Set-TransportServer

About these ads

Sorry, the comment form is closed at this time.

 
Follow

Get every new post delivered to your Inbox.

Join 76 other followers

%d bloggers like this: