반응형

해당 포스팅은 Self Study 하면서 작성한 노트입니다.

 

Mailbox 대해서 Study 하려면 ECP recipients (받는 사람)에서 출발

 

Recipients in Exchange Server | Microsoft Docs

The people and resources that send and receive messages are the core of any messaging and collaboration system. In an Exchange organization, these people and resources are referred to as recipients. A recipient is any mail-enabled object in Active Directory to which Microsoft Exchange can deliver or route messages.


기계 번역
메시지를 보내고 받는 사람과 리소스는 모든 메시징 및 공동 작업 시스템의 핵심입니다. Exchange 조직에서 이러한 사람과 리소스를 받는 사람으로 지칭합니다. 받는 사람은 Microsoft Exchange에서 메시지를 제공하거나 라우팅할 수 있는 Active Directory의 메일 사용 개체입니다.

 

Exchange recipient types

Exchange includes several explicit recipient types. Each recipient type is identified in the Exchange admin center (EAC) and has a unique value in the RecipientTypeDetails property in the Exchange Management Shell.

Exchange에는 몇 가지 명시적 받는 사람 유형이 포함되어 있습니다. 각 받는 사람 유형은 EAC(Exchange 관리 센터)에서 식별되며 Exchange 관리 셸 의 RecipientTypeDetails 속성에 고유한 값이 있습니다.

 

AD 사용자 개체에서 msExchRecipientTypeDetails 속성을 의미

 

해당 값은 아래의 자료에 정리가 되어 있습니다.

Exchange Recipient Type Values – Granikos GmbH & Co. KG

 

실질적으로 사용되는 값만 보는 것은 아래의 커뮤니티 게시자료가 유용합니다.

Recipient Type Values - Microsoft Community

 

Exchange Management Shell 상에서는 다음과 같이 조회할 있다.

Get-Recipient (ExchangePowerShell) | Microsoft Docs

-RecipientTypeDetails


The RecipientTypeDetails parameter filters the results by the specified recipient subtype. Valid values are:
  • DiscoveryMailbox
  • DynamicDistributionGroup
  • EquipmentMailbox
  • GroupMailbox
  • GuestMailUser
  • LegacyMailbox
  • LinkedMailbox
  • LinkedRoomMailbox
  • MailContact
  • MailForestContact
  • MailNonUniversalGroup
  • MailUniversalDistributionGroup
  • MailUniversalSecurityGroup
  • MailUser
  • PublicFolder
  • PublicFolderMailbox
  • RemoteEquipmentMailbox
  • RemoteRoomMailbox
  • RemoteSharedMailbox
  • RemoteTeamMailbox
  • RemoteUserMailbox
  • RoomList
  • RoomMailbox
  • SchedulingMailbox
  • SharedMailbox
  • TeamMailbox
  • UserMailbox
The use of explicit recipient types has the following benefits:
  • At a glance, you can differentiate between various recipient types.
  • You can search and sort by each recipient type.
  • You can more easily perform bulk management operations for selected recipient types.
  • You can more easily view recipient properties because the EAC uses the recipient types to render different property pages. For example, the resource capacity is displayed for a room mailbox, but isn't present for a user mailbox.
 
명시적 수신자 유형을 사용하면 다음과 같은 이점이 있습니다.
  • 다양한 수신자 유형을 한 눈에 구분할 수 있습니다.
  • 수신인 유형별로 검색 및 정렬할 수 있습니다.
  • 선택한 수신자 유형에 대해 일괄 관리 작업을 보다 쉽게 수행할 수 있습니다.
  • EAC는 받는 사람 유형을 사용하여 다른 속성 페이지를 렌더링하므로 받는 사람 속성을 더 쉽게 볼 수 있습니다. 예를 들어 리소스 용량은 대화방 사서함에 대해 표시되지만 사용자 사서함에는 표시되지 않습니다.

recipients에서 migration 제외한 나머지 항목들은 RecipientTypeDetails /종류로 구분되어 있다고 있다.

 

Advanced search - Recipient types 필터링 해보면 구조를 쉽게 이해할 있다.

 

Mailboxes

Mailboxes are the most common recipient type used by information workers in an Exchange organization. Each mailbox is associated with an Active Directory user account. The user can use the mailbox to send and receive messages, and to store messages, appointments, tasks, notes, and documents. Mailboxes are the primary messaging and collaboration tool for the users in your Exchange organization.

사서함은 Exchange 조직의 정보 근로자가 사용하는 가장 일반적인 받는 사람 유형입니다. 각 사서함은 Active Directory 사용자 계정과 연결되어 있습니다. 사용자는 사서함을 사용하여 메시지를 주고받고, 메시지, 약속, 작업, 메모 및 문서를 저장할 수 있습니다. 사서함은 조직의 사용자를 위한 기본 메시징 Exchange 도구입니다.

 

Mailbox components

Each mailbox consists of an Active Directory user and the mailbox data that's stored in the Exchange mailbox database (as shown in the following figure). All configuration data for the mailbox is stored in the Exchange attributes of the Active Directory user object. The mailbox database contains the actual data that's in the mailbox associated with the user account.

각 사서함은 Active Directory 사용자와 다음 그림과 같이 Exchange 사서함 데이터베이스에 저장된 사서함 데이터로 구성됩니다. 사서함의 모든 구성 데이터는 Active Directory Exchange 특성에 저장됩니다. 사서함 데이터베이스에는 사용자 계정과 연결된 사서함에 있는 실제 데이터가 포함됩니다.

사용자의 DB homeMDB에서 확인할 있으며,

대부분의 속성은 msExch~ 기록됩니다.

Important

When you create a mailbox for a new or existing user, the Exchange attributes required for a mailbox are added to the user object in Active Directory. The associated mailbox data isn't created until the mailbox either receives a message or the user signs in to it.

새 사용자 또는 기존 사용자에 대한 사서함을 만들면 Exchange 필요한 속성이 Active Directory의 사용자 개체에 추가됩니다. 연결된 사서함 데이터는 사서함이 메시지를 수신하거나 사용자가 사서함에 로그인할 때까지 만들어지지 않습니다.
  • 의미는 연결된 사서함의 경우 다른 포레스트에 계정이 있기 때문에 실제 메일 수신이 되면 프로비저닝이 된다로 해석됩니다.

 

Caution

If you remove a mailbox, the mailbox data stored in the Exchange mailbox database is marked for deletion and the associated user account is also deleted from Active Directory. To retain the user account and delete only the mailbox data, you must disable the mailbox.

사서함을 제거하면 Exchange 사서함 데이터베이스에 저장된 사서함 데이터가 삭제된 것으로 표시되고 연결된 사용자 계정도 Active Directory에서 삭제됩니다. 사용자 계정을 보존하고 사서함 데이터만 삭제하려면 사서함을 사용할 수 없도록 설정해야 합니다.

번역된 자료를 보면 헷갈릴 있습니다.

Remove-Mailbox Disable-Mailbox 차이입니다.

Remove-Mailbox AD 개체, Mailbox Data 전부 삭제하지만, Disable-Mailbox Mailbox Data 삭제합니다.

Remove-Mailbox = Remove-ADUser + Disable-Mailbox 이해하시면 좋을 같습니다.

 

아래와 같이 테스트를 진행해보면, AD개체가 삭제되어도 DB상에서는 남아있는 것을 확인할 있습니다.

Remove-ADUser -Identity onprem-4

$dbs = Get-MailboxDatabase
$dbs | foreach {Get-MailboxStatistics -Database $_.DistinguishedName} | where {$_.DisplayName -eq "onprem-4"} | Format-List DisplayName,Database,DisconnectReason

 

Remove-Storemailbox 명령어로 영구히 삭제할 있습니다.

Remove-StoreMailbox -Identity onprem-4 -Database db1-1 -MailboxState disabled

참고자료

Disconnected mailboxes: Exchange 2013 Help | Microsoft Docs

Disable or delete a mailbox: Exchange 2013 Help | Microsoft Docs

 

Mailbox types

사서함 종류

  • User mailboxes (사용자 사서함)
  • Linked mailboxes (연결된 사서함)
  • Microsoft 365 or Office 365 mailboxes (Office 365 사서함)
  • Shared mailboxes (공유 사서함)
  • Resource mailboxes (리소스 사서함)
  • Room mailboxes (회의실 사서함)
  • Equipment mailboxes (장비 사서함)

 

  • User mailboxes: User mailboxes are assigned to individual users in your Exchange organization. User mailboxes provide your users with a rich collaboration platform. Users can send and receive messages, manage their contacts, schedule meetings, and maintain a task list. They can also have voice mail messages delivered to their mailboxes. User mailboxes are the most commonly used mailbox type and are typically the mailbox type assigned to users in your organization.
  • 사용자 사서함은 Exchange 조직의 개별 사용자에게 할당됩니다. 사용자 사서함은 사용자에게 풍부한 협업 플랫폼을 제공합니다. 사용자는 메시지를 보내고 받고, 연락처를 관리하고, 회의를 예약하고, 작업 목록을 유지할 수 있습니다. 또한 음성 메일 메시지가 사서함으로 배달되도록 할 수도 있습니다. 사용자 사서함은 가장 일반적으로 사용되는 사서함 유형이며 일반적으로 조직의 사용자에게 할당되는 사서함 유형입니다.
 

User Mailbox

 

  • Linked mailboxes: Linked mailboxes are mailboxes that are accessed by users in a separate, trusted forest. Linked mailboxes may be necessary for organizations that deploy Exchange in a resource forest. The resource forest scenario allows an organization to centralize Exchange in a single forest, while allowing access to the Exchange organization with user accounts in one or more trusted forests. As stated earlier, every mailbox must have a user account associated with it. However, the user account that accesses the linked mailbox doesn't exist in the forest where Exchange is deployed. Therefore, a disabled user account that exists in the same forest as Exchange is associated with each linked mailbox. The following figure illustrates the relationship between the linked user account used to access the linked mailbox and the disabled user account in the Exchange resource forest associated with the linked mailbox.
  • 연결된 사서함은 별도의 신뢰할 수 있는 포리스트에서 사용자가 액세스하는 사서함입니다. 리소스 포리스트에 Exchange를 배포하는 조직에는 연결된 사서함이 필요할 수 있습니다. 리소스 포리스트 시나리오를 사용하면 조직에서 Exchange를 단일 포리스트로 중앙 집중화하는 동시에 하나 이상의 신뢰할 수 있는 포리스트에 있는 사용자 계정으로 Exchange 조직에 액세스할 수 있습니다. 앞에서 설명한 것처럼 모든 사서함에는 연결된 사용자 계정이 있어야 합니다. 그러나 연결된 사서함에 액세스하는 사용자 계정은 Exchange가 배포된 포리스트에 존재하지 않습니다. 따라서 Exchange와 동일한 포리스트에 있는 비활성화된 사용자 계정은 연결된 각 사서함과 연결됩니다. 다음 그림은 연결된 사서함에 액세스하는 데 사용되는 연결된 사용자 계정과 연결된 사서함과 연결된 Exchange 리소스 포리스트의 비활성화된 사용자 계정 간의 관계를 보여줍니다.

Linked Mailbox

 

 

  • Microsoft 365 or Office 365 mailboxes: When you create a Microsoft 365 or Office 365 mailbox in Exchange Online in a hybrid deployment, the mail user is created in Active Directory on-premises. Directory synchronization, if it's configured, automatically synchronizes this new user object to Microsoft 365 or Office 365, where it's converted to a cloud mailbox in Exchange Online. You can create Microsoft 365 or Office 365 mailboxes as regular user mailboxes, resource mailboxes for meeting rooms and equipment, and shared mailboxes.
  • 하이브리드 배포의 Exchange Online에서 Microsoft 365 또는 Office 365 사서함을 만들면 메일 사용자가 온-프레미스 Active Directory에 만들어집니다. 디렉터리 동기화가 구성된 경우 이 새 사용자 개체를 Microsoft 365 또는 Office 365와 자동으로 동기화하고 Exchange Online에서 클라우드 사서함으로 변환됩니다. Microsoft 365 또는 Office 365 사서함을 일반 사용자 사서함, 회의실 및 장비용 리소스 사서함, 공유 사서함으로 만들 수 있습니다.

Office 365 Mailbox (Remote Mailbox)

  • Shared mailboxes: Shared mailboxes aren't primarily associated with individual users and are generally configured to allow access by multiple users.
    Although it's possible to assign additional users the logon access permissions to any mailbox type, shared mailboxes are dedicated for this functionality.
    The Active Directory user associated with a shared mailbox must be a disabled account. After you create a shared mailbox, you must assign permissions to all users that require access to the shared mailbox.
  • 공유 사서함은 주로 개별 사용자와 연결되지 않으며 일반적으로 여러 사용자가 액세스할 수 있도록 구성됩니다. 추가 사용자에게 모든 사서함 유형에 대한 로그온 액세스 권한을 할당할 수 있지만 공유 사서함은 이 기능 전용입니다. 공유 사서함과 연결된 Active Directory 사용자는 비활성화된 계정이어야 합니다. 공유 사서함을 만든 후에는 공유 사서함에 액세스해야 하는 모든 사용자에게 권한을 할당해야 합니다.

Shared Mailbox

 

  • Resource mailboxes: Resource mailboxes are special mailboxes designed to be used for scheduling resources. Like all mailbox types, a resource mailbox has an associated Active Directory user account, but it must be a disabled account. The following are the types of resource mailboxes:
  • 리소스 사서함은 리소스를 예약하는 데 사용하도록 설계된 특수 사서함입니다. 모든 사서함 유형과 마찬가지로 리소스 사서함에는 연결된 Active Directory 사용자 계정이 있지만 비활성화된 계정이어야 합니다. 리소스 사서함의 유형은 다음과 같습니다.

반응형

+ Recent posts