| Home | Kaiming |
Remote Domain and OOF (Out Of Office)
For most, we must understand "An Out-of-Office message is set on the clients (Outlook and OWA) but is sent by Exchange server."
How many types of clients do we have?
Outlook 2007
Outlook 2003 or earlier
OWA 2007
OWA 2003 or earlier
Outlook 2007 and OWA 2007 can define OOF for internal and external users.

OFFICE 2007 distinguishes the internal users and external users.



Set-RemoteDomain cmdlet only controls the OOF sent externally.
Set-RemoteDomain -Identity <RemoteDomainIdParameter> [-AllowedOOFType <External | InternalLegacy | ExternalLegacy | None>]
In Exchange Management Console, the remote domain property has the following settings:
Allow none
new-RemoteDomain -Name 'Spam' -DomainName 'Spam.com'
Set-RemoteDomain -id "Spam" -AllowedOOFType None
No OOF messages go out.
Allow external out-of-office messages onlynew-RemoteDomain -Name 'sample' -DomainName 'sample.com'
Set-RemoteDomain -id "sample" -AllowedOOFType External
OOF messages for external users defined by Outlook 2007 and OWA 2007 can go out. Other OOF messages cannot go out.
All external out-of-office messages and out-of-office messages set by Outlook 2003 or earlier clients or sent by Exchange server 2003 or earlier servers
new-RemoteDomain -Name 'exam' -DomainName 'exam.com'
Set-RemoteDomain -id "exam" -AllowedOOFType ExternalLegacy
OOF messages for external users defined by Outlook 2007 and OWA 2007 can go out. Other OOF messages can go out.
Allow internal out-of-messages, and out-of-office messages set by outlook 2003 or earlier clients or sent by Exchange server 2003 or earlier servers
new-RemoteDomain -Name 'Vanarts' -DomainName 'vanarts.com'
Set-RemoteDomain -id "Vanarts" -AllowedOOFType InternalLegacy
OOF messages for internal users defined by outlook 2007 and owa 2007 can go out. Other OOF messages can go out.
The following cmdlet controls the individual mailbox can only send internal OOF messages.
SET-MAILBOX -IDENTITY 'Kevin.Smith' -ExternalOofOptions InternalOnly
To allow OOF go out, you must set AUTOReplyEnabled to TRUE.
Set-RemoteDomain -id "Vanarts" -AutoReplyEnabled $true -AutoForwardEnabled $false -DeliveryReportEnabled $false -DisplaySenderName $false -MeetingForwardNotificationEnabled $true -NDREnabled $false
Set-RemoteDomain -id "default" -AutoReplyEnabled $false -AutoForwardEnabled $false -DeliveryReportEnabled $false -DisplaySenderName $false -MeetingForwardNotificationEnabled $true -NDREnabled $false
Example



At Paula.work.com:
Get-SendConnector | Remove-SendConnector
New-SendConnector -Name 'Internet' -Usage 'Internet' -AddressSpaces *
Set-ReceiveConnector -id 'Paula\default Paula' -PermissionGroups AnonymousUsers,ExchangeUsers,ExchangeServers,ExchangeLegacyServers
new-RemoteDomain -Name 'east' -DomainName 'east.com'
Set-RemoteDomain -id "east" -AllowedOOFType External
Set-RemoteDomain -id "east" -AutoReplyEnabled $true -AutoForwardEnabled $false -DeliveryReportEnabled $false -DisplaySenderName $false -MeetingForwardNotificationEnabled $true -NDREnabled $false
Set-RemoteDomain -id "default" -AutoReplyEnabled $false -AutoForwardEnabled $false -DeliveryReportEnabled $false -DisplaySenderName $false -MeetingForwardNotificationEnabled $true -NDREnabled $false
Shane Williams logs onto XP2007 computer and creates Out Of Office message in Outlook 2007.
OOF of Outlook 2007: Internal and External

At Ex64.east.com:
Get-SendConnector | Remove-SendConnector
New-SendConnector -Name 'Internet' -Usage 'Internet' -AddressSpaces *
Set-ReceiveConnector -id 'ex64\default ex64' -PermissionGroups AnonymousUsers,ExchangeUsers,ExchangeServers,ExchangeLegacyServers
Rob.Prince@east.com logs onto Cobra machine and open Outlook 007 and sends an email to swilliams@work.com. Rob.Prince@east.com will receive the OOF message for external user.
At Paula.work.com:
Set-RemoteDomain -id "east" -AutoReplyEnabled $false -AutoForwardEnabled $false -DeliveryReportEnabled $false -DisplaySenderName $false -MeetingForwardNotificationEnabled $true -NDREnabled $false
Rob.Prince@east.com sends e-mail to swilliams@work.com. He will not receive the OOF message. However, the internal user mwill@work.com receives OOF message anyway.
OOF of outlook 2003 --Legacy

OOF messages can be delivered internally at all time.