Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2
Topic Last Modified: 2012-11-12
Use the Set-RemoteDomain cmdlet to configure a managed connection for a remote domain. When you set a remote domain, you can control mail flow with more precision, specify message formatting and policy, and specify acceptable character sets for messages sent to or received from the remote domain.
Syntax
Set-RemoteDomain -Identity
<RemoteDomainIdParameter> [-AllowedOOFType <External |
InternalLegacy | ExternalLegacy | None>] [-AutoForwardEnabled
<$true | $false>] [-AutoReplyEnabled <$true | $false>]
[-ByteEncoderTypeFor7BitCharsets <Use7Bit | UseQP | UseBase64 |
UseQPHtmlDetectTextPlain | UseBase64HtmlDetectTextPlain |
UseQPHtml7BitTextPlain | UseBase64Html7BitTextPlain |
Undefined>] [-CharacterSet <String>] [-Confirm
[<SwitchParameter>]] [-ContentType <MimeHtmlText |
MimeText | MimeHtml>] [-DeliveryReportEnabled <$true |
$false>] [-DisplaySenderName <$true | $false>]
[-DomainController <Fqdn>] [-IsCoexistenceDomain <$true |
$false>] [-IsInternal <$true | $false>] [-LineWrapSize
<Unlimited>] [-MeetingForwardNotificationEnabled <$true |
$false>] [-Name <String>] [-NDRDiagnosticInfoEnabled
<$true | $false>] [-NDREnabled <$true | $false>]
[-NonMimeCharacterSet <String>]
[-PreferredInternetCodePageForShiftJis <Undefined | Iso2022Jp |
Esc2022Jp | Sio2022Jp>] [-RequiredCharsetCoverage <Int32>]
[-TargetDeliveryDomain <$true | $false>] [-TNEFEnabled
<$true | $false>] [-TrustedMailInboundEnabled <$true |
$false>] [-TrustedMailOutboundEnabled <$true | $false>]
[-UseSimpleDisplayName <$true | $false>] [-WhatIf
[<SwitchParameter>]]
|
Detailed Description
You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Remote domains" entry in the Transport Permissions topic.
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
Identity |
Required |
Microsoft.Exchange.Configuration.Tasks.RemoteDomainIdParameter |
The Identity parameter specifies the display name of the remote domain. The length of the name can't exceed 64 characters. |
AllowedOOFType |
Optional |
Microsoft.Exchange.Data.Directory.SystemConfiguration.AllowedOOFType |
The AllowedOOFType parameter specifies the type of
out-of-office notification returned to users at the remote domain.
Valid values are |
AutoForwardEnabled |
Optional |
System.Boolean |
The AutoForwardEnabled parameter specifies whether to
allow messages that are auto-forwarded by client e-mail programs in
your organization. Setting this parameter to |
AutoReplyEnabled |
Optional |
System.Boolean |
The AutoReplyEnabled parameter specifies whether to allow
messages that are automatic replies from client e-mail programs in
your organization. The default value is |
ByteEncoderTypeFor7BitCharsets |
Optional |
Microsoft.Exchange.Data.Directory.SystemConfiguration.ByteEncoderTypeFor7BitCharsetsEnum |
The ByteEncoderTypeFor7BitCharsets parameter specifies the 7-bit transfer encoding method for MIME format for messages sent to this remote domain. The valid values for this parameter are:
If no value is specified, Exchange always uses QP encoding for HTML and plain text. |
CharacterSet |
Optional |
System.String |
The CharacterSet parameter specifies a character set for
this remote domain. The character set that you specify is only used
for MIME messages that don't have their own character set
specified. Setting this parameter doesn't overwrite character sets
already specified in the outbound mail. For a list of valid
character set names, see Supported Character Sets
for Remote Domain Configuration. To remove the character set
value, set the value to |
Confirm |
Optional |
System.Management.Automation.SwitchParameter |
The Confirm switch causes the command to pause processing and requires you to acknowledge what the command will do before processing continues. You don't have to specify a value with the Confirm switch. |
ContentType |
Optional |
Microsoft.Exchange.Data.Directory.SystemConfiguration.ContentType |
The ContentType parameter specifies the outbound message
content type and formatting. Valid values for this parameter are
The default value is |
DeliveryReportEnabled |
Optional |
System.Boolean |
The DeliveryReportEnabled parameter specifies whether to
allow delivery reports from client software in your organization to
the remote domain. The default value is |
DisplaySenderName |
Optional |
System.Boolean |
The DisplaySenderName parameter specifies whether to
display the sender name. Valid values for this parameter are
|
DomainController |
Optional |
Microsoft.Exchange.Data.Fqdn |
The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to Active Directory. |
IsCoexistenceDomain |
Optional |
System.Boolean |
The IsCoexistenceDomain parameter specifies whether this
remote domain is used to represent your Microsoft Office 365
organization.The default value is |
IsInternal |
Optional |
System.Boolean |
The IsInternal parameter specifies whether the recipients
in this remote domain should be considered internal recipients. Set
this parameter to When you set this parameter to The default value is |
LineWrapSize |
Optional |
Microsoft.Exchange.Data.Unlimited |
The LineWrapSize parameter specifies the line-wrap size
for outbound messages. The parameter takes an integer from 0
through 132, or you can overload the parameter by setting the value
to |
MeetingForwardNotificationEnabled |
Optional |
System.Boolean |
The MeetingForwardNotificationEnabled parameter specifies whether to enable meeting forward notifications. When this parameter is enabled, meeting requests forwarded to recipients in the remote domain generate a meeting forward notification to the meeting organizer. When this parameter is disabled, meeting requests forwarded to recipients in the remote domain won't generate a meeting forward notification to the meeting organizer. Valid values for this parameter are |
Name |
Optional |
System.String |
The Name parameter specifies a unique name for a remote domain object. |
NDRDiagnosticInfoEnabled |
Optional |
System.Boolean |
The NDRDiagnosticInfoEnabled parameter specifies whether the diagnostic information is included in NDRs sent to the remote domain. The diagnostic information of an NDR includes details that help
administrators troubleshoot delivery problems. This detailed
information includes internal server names. You may not want to
expose this information to NDRs sent to external users. If you set
this parameter to The default value is |
NDREnabled |
Optional |
System.Boolean |
The NDREnabled parameter specifies whether to allow
non-delivery reports (NDRs) from your organization. Setting this
parameter to |
NonMimeCharacterSet |
Optional |
System.String |
The NonMimeCharacterSet parameter specifies a character
set for this remote domain. The character set that you specify is
only used for non-MIME (RFC 822 text) messages that don't have
their own character set specified. Setting this parameter doesn't
overwrite character sets already specified in the outbound mail.
For a list of valid character set names, see Supported Character Sets
for Remote Domain Configuration. To remove the character set
value, set the value to |
PreferredInternetCodePageForShiftJis |
Optional |
Microsoft.Exchange.Data.Directory.SystemConfiguration.PreferredInternetCodePageForShiftJisEnum |
The PreferredInternetCodePageForShiftJis parameter specifies the specific code page to use for Shift JIS character encoding when sending messages to this remote domain. The valid values for this parameter are:
|
RequiredCharsetCoverage |
Optional |
System.Int32 |
The RequiredCharsetCoverage parameter specifies a percentage threshold for characters in a message that must match to apply your organization’s preferred character set before switching to automatic character set detection. For example, if you set this parameter to 60, the preferred character sets will still be used during content conversion for messages that contain characters from non-preferred character sets as long as the percentage of those characters is 40 percent or less. If the percentage of characters in a message doesn’t belong to preferred character sets, Exchange analyzes the UNICODE characters and automatically determines the best matching character set to use. If users in this remote domain use characters that span character sets, you may want to specify a lower percentage to ensure that your organization’s preferred character set is used during content conversion. |
TargetDeliveryDomain |
Optional |
System.Boolean |
The TargetDeliveryDomain parameter specifies the e-mail domain that's used when generating target addresses for new mail users in a cross-premises deployment scenario. When you have a cross-premises deployment, the user mailboxes on the remote location are represented as mail user objects. For example, all mailboxes hosted on Exchange Online are represented as mail users in your on-premises organization. The value of this parameter is used to determine what domain should be used for the target e-mail address for these mail users. |
TNEFEnabled |
Optional |
System.Boolean |
The TNEFEnabled parameter specifies whether Transport
Neutral Encapsulation Format (TNEF) message encoding is used on
messages sent to the remote domain. Valid values for this parameter
are
The default value is |
TrustedMailInboundEnabled |
Optional |
System.Boolean |
The TrustedMailInboundEnabled parameter specifies whether
Exchange will treat e-mail received from this remote domain as
trusted messages. If you set this parameter to We recommend that you set this parameter to The default value is |
TrustedMailOutboundEnabled |
Optional |
System.Boolean |
The TrustedMailOutboundEnabled parameter specifies
whether the remote domain is considered a trusted domain. We
recommend that you set this parameter to The default value is |
UseSimpleDisplayName |
Optional |
System.Boolean |
The UseSimpleDisplayName parameter specifies whether
simple display names for senders appear in messages sent to this
domain. Setting this parameter to |
WhatIf |
Optional |
System.Management.Automation.SwitchParameter |
The WhatIf switch instructs the command to simulate the actions that it would take on the object. By using the WhatIf switch, you can view what changes would occur without having to apply any of those changes. You don't have to specify a value with the WhatIf switch. |
Input Types
To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.
Return Types
To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.
Examples
EXAMPLE 1
This example performs the following actions:
- It disables out-of-office notifications to the remote
domain.
- It suppresses read receipts sent from clients in your
organization to the remote domain.
- It enables TNEF message data on messages sent to the remote
domain.
Copy Code | |
---|---|
Set-RemoteDomain -Identity Contoso -AllowedOOFType None -DeliveryReportEnabled $false -TNEFEnabled $true |
EXAMPLE 2
This example queries Active Directory for all remote domains for which auto replies are disabled. Using the pipelining feature, it also disables auto forwards and NDRs to those domains.
Copy Code | |
---|---|
Get-RemoteDomain | Where {$_.AutoReplyEnabled -eq $false} | Set-RemoteDomain -AutoForwardEnabled $false -NDREnabled $false |