Remember to maintain security and privacy. Do not share sensitive information. Procedimento.com.br may make mistakes. Verify important information. Termo de Responsabilidade

How to Create and Manage Accepted Domains in Exchange Server

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.

Understanding Accepted Domains

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.

Examples

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.

Example 1: Creating a New Authoritative Domain

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.

Example 2: Creating an Internal Relay Domain

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

Example 3: Creating an External Relay Domain

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

Managing Accepted Domains

After creating accepted domains, you might need to manage them using other cmdlets such as Get-AcceptedDomain, Set-AcceptedDomain, and Remove-AcceptedDomain.

Viewing Accepted Domains

To view all accepted domains configured in your Exchange organization, use:

Get-AcceptedDomain

Modifying an Accepted Domain

To modify an existing accepted domain, use:

Set-AcceptedDomain -Identity "Contoso Authoritative Domain" -DomainType InternalRelay

Removing an Accepted Domain

To remove an accepted domain, use:

Remove-AcceptedDomain -Identity "Contoso External Relay Domain"

Conclusion

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.

To share Download PDF

Gostou do artigo? Deixe sua avaliação!
Sua opinião é muito importante para nós. Clique em um dos botões abaixo para nos dizer o que achou deste conteúdo.