Remember to maintain security and privacy. Do not share sensitive information. Procedimento.com.br may make mistakes. Verify important information. Termo de Responsabilidade
In the context of Microsoft Exchange Server, an "Accepted Domain" is a domain for which the Exchange organization is configured to accept email messages. This is relevant to environments where Exchange Server is deployed, typically on Windows Server operating systems. The "New-AcceptedDomain" cmdlet is used in Exchange Management Shell to create a new accepted domain.
Accepted domains are crucial in an Exchange environment as they define which email domains the organization can receive emails for. Configuring accepted domains is essential for setting up email routing and ensuring that emails are correctly processed within the organization.
Below are examples of how to use the "New-AcceptedDomain" cmdlet in Exchange Management Shell, which is a part of the Exchange Server environment on Windows.
An authoritative domain is one where the Exchange organization is responsible for all mail delivery. Use the following command to create one:
New-AcceptedDomain -Name "Contoso Authoritative Domain" -DomainName "contoso.com" -DomainType Authoritative
In this example:
-Name
specifies a friendly name for the accepted domain.-DomainName
specifies the SMTP domain.-DomainType
specifies the type of domain, in this case, Authoritative.An internal relay domain is used when some recipients are outside the Exchange organization but are part of the same company. Use this command:
New-AcceptedDomain -Name "Contoso Internal Relay Domain" -DomainName "internal.contoso.com" -DomainType InternalRelay
An external relay domain is used when the Exchange server is not responsible for delivering emails to the domain but needs to relay them to an external server. Here's how you can create it:
New-AcceptedDomain -Name "Contoso External Relay Domain" -DomainName "external.contoso.com" -DomainType ExternalRelay
After creating accepted domains, you might need to manage them using other cmdlets such as Get-AcceptedDomain
, Set-AcceptedDomain
, and Remove-AcceptedDomain
.
To view all accepted domains configured in your Exchange organization, use:
Get-AcceptedDomain
To modify an existing accepted domain, use:
Set-AcceptedDomain -Identity "Contoso Authoritative Domain" -DomainType InternalRelay
To remove an accepted domain, use:
Remove-AcceptedDomain -Identity "Contoso External Relay Domain"
The "New-AcceptedDomain" cmdlet is a powerful tool in Exchange Management Shell for configuring email domains within an Exchange Server environment. Understanding how to create and manage these domains ensures that your organization's email system functions smoothly and securely.