Home   Kaiming



Each delivery queue represents the destination for a particular message.

Internal messages delivery

delivery1

Create a mailbox: Newton in Paula (exchange 2003) by AD Users and Computers.

$password=read-host "Please Enter password:" –asSecureString

New-Mailbox -Name 'Rob' -Alias 'Rob' -OrganizationalUnit 'work.com/Users' -UserPrincipalName 'Rob@work.com' -SamAccountName 'Rob' -FirstName 'Rob' -Initials '' -LastName '' -Password $password -Database 'EX20071\First Storage Group\Mailbox Database'

 

New-Mailbox -Name 'Sam' -Alias 'Sam' -OrganizationalUnit 'work.com/Users' -UserPrincipalName 'Sam@work.com' -SamAccountName 'Sam' -FirstName 'Sam' -Initials '' -LastName '' -Password $password -Database 'Ex20071\First Storage Group\Mailbox Database'

New-Mailbox -Name 'Tim' -Alias 'Tim' -OrganizationalUnit 'work.com/Users' -UserPrincipalName 'Tim@work.com' -SamAccountName 'Tim' -FirstName 'Tim' -Initials '' -LastName '' -Password $password -Database 'EX20072\First Storage Group\Mailbox Database'

 

New-Mailbox -Name 'Bond' -Alias 'Bond' -OrganizationalUnit 'work.com/Users' -UserPrincipalName 'Bond@work.com' -SamAccountName 'Bond' -FirstName 'Bond' -Initials '' -LastName '' -Password $password -Database 'W2008\First Storage Group\Mailbox Database'

Get-Mailbox | fl Name,RecipientType

Name          : Rob
RecipientType : UserMailbox

Name          : Sam
RecipientType : UserMailbox

Name          : Tim
RecipientType : UserMailbox

Name          : Bond
RecipientType : UserMailbox

Name          : Newton
RecipientType : UserMailbox

Open Rob@work.com in outlook;

delivery2

delivery3

In Exchange 2007, the Transport Service provides the SMTP and MAPI protocols

delivery4

To deliver messages to outsider, you must create a send connector for your organization. The send connector is not bound to individual servers. However, the receive connectors are bound to individual servers.


Get-queue

Identity DeliveryType Status MessageCount NextHopDomain
         
ex20071\Submission Undefined Ready 0 Submission
ex20071\Unreachable Unreachable Ready 1 Unreachable Domain

Get-Message -Queue ex20071\unreachable |fl identity,subject,From*,Queue, lastError

Identity : ex20071\Unreachable\81
Subject : VCC
FromAddress : shane.williams@work.com
Queue : ex20071\Unreachable
LastError : A matching connector cannot be found to route the external recipient

Suspend-Message -Identity 'ex20071\Unreachable\81'

Export-Message -Identity 'ex20071\Unreachable\81' -Path c:\temp\vcc.eml

Get-TransportServer -Identity ex20071 | fl *directoryPath

PickupDirectoryPath : C:\Program Files\Microsoft\Exchange Server\TransportRoles\Pickup
ReplayDirectoryPath : C:\Program Files\Microsoft\Exchange Server\TransportRoles\Replay
RootDropDirectoryPath :

Assuming the Ex20071 server is down and cannot be repaired. You can move the vcc.eml file to the Replay folder of the second Transport server.

mv vcc.eml 'C:\Program Files\Microsoft\Exchange Server\transportroles\Replay'

The message is delivered.


Home