Difference between revisions of "Exchange 2016"

From AlphaBook
Jump to: navigation, search
(Mailbox)
(Mailbox)
Line 59: Line 59:
 
* Disable or delete a mailbox in Exchange 2016 https://technet.microsoft.com/en-us/library/jj863434(v=exchg.160).aspx
 
* Disable or delete a mailbox in Exchange 2016 https://technet.microsoft.com/en-us/library/jj863434(v=exchg.160).aspx
 
** Disable mailbox -> all Exchange attributes are removed from the associated user account in Active Directory
 
** Disable mailbox -> all Exchange attributes are removed from the associated user account in Active Directory
** Disable mailbox -> The disconnected mailbox is hidden and marked for removal
+
** Disable mailbox -> The disconnected mailbox is hidden and marked for removal (MailboxRetention 30 days by default)
 
** Delete mailbox -> the account is removed from Active Directory
 
** Delete mailbox -> the account is removed from Active Directory
** Delete mailbox -> The disconnected mailbox is hidden and marked for removal
+
** Delete mailbox -> The disconnected mailbox is hidden and marked for removal (MailboxRetention 30 days by default)
** Default value of MailboxRetention is 30 days
 
  
 
=== Email Groups ===
 
=== Email Groups ===

Revision as of 15:41, 15 March 2018

Installation

Exchange Admin Center

Web console https://192.168.200.50/ecp

AD domain name (corp.alphabook.cn) is different from public domain name (alphabook.cn)

  • mail flow -> accepted domains -> new
    • Name: alphabook.cn
    • Accepted domain: alphabook.cn
    • Authoritative
    • Make this the default domain
  • mail flow -> email address policies -> new
    • Policy name: Corporation Policy
    • Email address format
      • Select an accepted domain: alphabook.cn
      • Enter a custom address type: SMTP
      • Email address parameters: @alphabook.cn
      • Make this formate the reply email address
    • Save
    • Apply

Email outgoing

  • mail flow -> send connectors -> new
    • Name: Email outgoing
    • Internet (For example, to send internet mail)
    • Next
    • MX record associated with recipient domain
    • Next
    • Address space -> new
      • Type: SMTP
      • Full qualified Domain Name (FQDN): *
      • Cost: Default
      • Save
    • Source server -> new
      • Select the server, add, then OK
    • Finish

Email incoming

  • A default inbound Receive connector is created when Exchange 2016 is installed. This Receive connector accepts anonymous SMTP connections from external servers. You don't need to do any additional configuration if this is the functionality you want. If you want to restrict inbound connections from external servers, modify the Default Frontend <Mailbox server> Receive connector on the Mailbox server.

Mailbox

  • recipients -> mailboxes -> add -> user mailbox
  • Existing user -> Browse... -> Select the user -> OK
  • Save
  • Enable-Mailbox for multiple users with PowerShell
    • (Get-ADUser -Filter {Department -eq "IT"}).SamAccountName | Enable-Mailbox
  • Disable-Mailbox
    • (Get-ADUser -Identity Yun.Zhao).SamAccountName | Disable-Mailbox
  • Re-enable Mailbox
    • Get-MailboxDatabase -Identity MailboxDB01 | Get-MailboxStatistics | Select-Object DisplayName,MailboxGuid,DisconnectDate,DisconnectReason,TotalItemSize | Format-Table
    • Connect-Mailbox -Identity 97eaffc9-a5b6-4f43-a2f5-d04a30cecfeb -User "Yun Zhao" -Database MDB01
  • Mailbox Delegation (recipients -> mailboxes -> User -> Edit)
    • Send As (The Send As permission allows a delegate to send email from this mailbox. The message will appear to have been sent by the mailbox owner.)
    • Send on Behalf ( The Send on Behalf permission allows the delegate to send email on behalf of this mailbox. The From line in any message sent by a delegate indicates that the message was sent by the delegate on behalf of the mailbox owner.)
  • In Outlook, New email -> Options -> From
  • Disable or delete a mailbox in Exchange 2016 https://technet.microsoft.com/en-us/library/jj863434(v=exchg.160).aspx
    • Disable mailbox -> all Exchange attributes are removed from the associated user account in Active Directory
    • Disable mailbox -> The disconnected mailbox is hidden and marked for removal (MailboxRetention 30 days by default)
    • Delete mailbox -> the account is removed from Active Directory
    • Delete mailbox -> The disconnected mailbox is hidden and marked for removal (MailboxRetention 30 days by default)

Email Groups

  • recipients -> groups -> add
    • Distribution Group (Owner approval is required - Enable)
    • Security Group (Mail-enabled security group, Owner approval is required - Enable)
    • Dynamic Distribution Group (Based on defined rules, such as OU)

Room Mailbox (Conference Room Booking)

  • recipients -> resources -> add
    • room mailbox (A room mailbox is resource mailbox that is assigned to a physical location for users to reserve.)
      • Room Name / Alias / OU / Location / Phone / Capacity

Mail Contact

  • recipients -> contacts -> add
  • mail contact (First Name / Last Name / Display Name / Name / Alias / External email address)

Shared Mailbox

  • recipients -> shared -> add
    • shared mailbox (allow a group of users to view and send email from a common mailbox and share a common calendar)
  • Send from shared mailbox in Outlook 2016
    • New Email -> Options -> From (From field is hidden by default)
    • New Email -> From -> Other Email Address...
  • Send from shared mailbox in OWA
    • New Email -> ... -> Show From -> Right click on the current sender -> Delete -> Input the shared mailbox address

Quere Viewer

  • From Exchange server, open Exchange Toolbox, then Queue Viewer
  • To manage Exchange email queues

Outlook AutoDiscover

OWA (Outlook Web App)

Message size limits in Exchange 2016

Configure storage quotas for a mailbox

HA (High Availibity)

  • NLB (Network Load Balance)
  • DAG (Data Availibity Group)

Edge Transport server (Workgroup)

  • Prerequests
    • Configure the primary DNS suffix on the sever(Full computer name will be like: Edge.corp.alphabook.cn)
    • Install-WindowsFeature ADLDS
  • Install Exchange 2016 Edge Transport Role
  • Configure Internet mail flow through a subscribed Edge Transport server
    • Creat A record for Edge Transport server manually in AD DNS
    • Run below command from Exchange manage shell on Edge Transport server
      • New-EdgeSubscription -FileName "D:\EdgeSubscriptionInfo.xml" -Force
    • Run below command from Exchange manage shell on Mailbox server
      • New-EdgeSubscription -FileData ([byte[]]$(Get-Content -Path "D:\EdgeSubscriptionInfo.xml" -Encoding Byte -ReadCount 0)) -Site "Default-First-Site-Name"
    • Network ports required https://technet.microsoft.com/en-us/library/bb331973(v=exchg.160).aspx#MailFlowEdge
  • Reference https://technet.microsoft.com/en-us/library/bb738158(v=exchg.160).aspx

PublicDeligates

  • PublicDeligates: Secretary
  • PublicDeligatesBL: Manager
  • Secretary has access to Manager's mailbox (send on behalf)

http error 500

  • When we access ecp / owa by browser, get http error 500
  • Set-Location C:\Program Files\Microsoft\Exchange Server\V15\Bin
  • UpdateCas.ps1
  • iisReset.exe