Exchange Online Anti-Phishing Policy
ใครใช้งานแล้วเจออีเมล์ที่แปะ Mail tip แจ้งเตือนเกี่ยวกับ Mail จาก Sender ที่เพิ่งเคยส่งเมล์หาเราครั้งแรกให้แกะกะรำคาญใจ
อยากปิดไม่ให้แจ้งเตือนข้อความตามรูปได้ไหมให้เข้าไปปิดได้ที่ Anti-Phising ของ EOP ซะ
Exchange Online Anti-Phishing Policy
ใครใช้งานแล้วเจออีเมล์ที่แปะ Mail tip แจ้งเตือนเกี่ยวกับ Mail จาก Sender ที่เพิ่งเคยส่งเมล์หาเราครั้งแรกให้แกะกะรำคาญใจ
อยากปิดไม่ให้แจ้งเตือนข้อความตามรูปได้ไหมให้เข้าไปปิดได้ที่ Anti-Phising ของ EOP ซะ
Replace Exchange Receive Connector TLS Certificate
$cert = Get-ExchangeCertificate -Thumbprint cert_thumbprint
$tlscertificatename = "<i>$($cert.Issuer)<s>$($cert.Subject)"
Set-ReceiveConnector "EX2016SRV1\Client Frontend EX2016SRV1" -TlsCertificateName $tlscertificatename
Replace Exchange Send Connector TLS Certificate
$cert = Get-ExchangeCertificate -Thumbprint cert_thumbprint
$tlscertificatename = "<i>$($cert.Issuer)<s>$($cert.Subject)"
Set-SendConnector "Outbound to Office 365" -TlsCertificateName $tlscertificatename
Key Conditions for Outlook Recall to Work:
- You are using Microsoft Exchange Server
- You must both be on the same Outlook Exchange System
- The recipient must be using Outlook 365 or the Outlook Exchange Client
- The Outlook Exchange Connection must be Active
- The Email went to the Recipient’s Inbox
- The Email must be UNREAD
Key Reasons Why Outlook Recall Will Definitely Fail:
- The Recipient already Opened the Message
- There is an Email Rule on their System that Moves the Message
- The Email Recipient doesn’t use the Outlook Mail Client
- The Email Recipient isn’t on the SAME Outlook Exchange Server
- The Email Recipient uses a Mobile Device with a different Email client
- The Email Recipient uses Outlook Web Access
- Message was Sent from a Delegate or Shared Mailbox
- The Email was sent to a “Public” or “Shared” Folder
- The Recipient already viewed the message on their Mobile Device
คำสั่ง Exchange PowerShell สำหรับเก็บข้อมูล Exchange
คำสั่ง PowerShell ที่ใช้สำหรับเก็บข้อมุล Exchange ไว้ใช้สำหรับงาน Migration, Inventory ก็แล้วแต่ตามสะดวกครับผม
เปิด Exchange Management Shell แล้วรันคำสั่งด้านล่างได้เลยครับ
Get-ActiveSyncVirtualDirectory | fl id,*url* | export-csv c:\temp\Get-ActiveSyncVirtualDirectory.csv
Get-AutodiscoverVirtualDirectory | fl id,*url* | export-csv c:\temp\Get-AutodiscoverVirtualDirectory.csv
Get-EcpVirtualDirectory | fl id,*url* | export-csv c:\temp\Get-EcpVirtualDirectory.csv
Get-OabVirtualDirectory | fl id,*url* | export-csv c:\temp\Get-OabVirtualDirectory.csv
Get-OwaVirtualDirectory | fl id,*url* | export-csv c:\temp\Get-OwaVirtualDirectory.csv
Get-PowerShellVirtualDirectory | fl id,*url* | export-csv c:\temp\Get-PowerShellVirtualDirectory.csv
Get-WebServicesVirtualDirectory | fl id,*url* | export-csv c:\temp\Get-WebServicesVirtualDirectory.csv
Get-MapiVirtualDirectory | fl id,*url* | export-csv c:\temp\Get-MapiVirtualDirectory.csv
Get-ClientAccessServer | fl id,*uri* | export-csv c:\temp\Get-ClientAccessServer.csv
Get-OutlookProvider | fl | export-csv c:\temp\Get-OutlookProvider.csv
Get-OutlookAnywhere | fl | export-csv c:\temp\Get-OutlookAnywhere.csv
Get-SendConnector | Where-Object {$_.Enabled -eq $true} |fl| export-csv c:\temp\Get-SendConnector.csv
Get-SendConnector | Where-Object {$_.Enabled -eq $true} | Get-ADPermission | Where-Object { $_.extendedrights -like '*routing*' } | fl identity, user, *rights | export-csv c:\temp\Get-SendConnector_Permission.csv
Get-ReceiveConnector | fl | export-csv c:\temp\Get-ReceiveConnector.csv
Get-ExchangeCertificate | fl | export-csv c:\temp\Get-ExchangeCertificate.csv
ห่างหายไปนานกับบทความที่เกี่ยวกับ Exchange ของผม วันนี้พอมีเวลาว่าง เลยแวะมาอับเดตบทความแรกของ Exchange 2016 กันนิดนึง
เอาละอย่าช้าอยู่ใยเข้าเรื่องเลย
หลักๆ infrastructure ที่ผมเตรียมไว้ในการติดตั้ง Exchange 2016 ก็ไม่มีอะไรมาก
มี AD สองเครื่องอยู่กันคนละ Site (คนละ IP subnet, คนละ AD Subnet และคนละ AD Site)
จากนั้นก็เตรียมเครื่องที่จะติดตั้ง Exchange 2016 ขึ้นมาโดยยังไม่ติดตั้งอะไรเข้าไปทั้งสิ้น จับ join domain อย่างเดียวแล้วก็มาถึงขั้นตอนการติดตั้ง Exchange Server 2016 กันละครับ
1. ตัวติดตั้ง Exchange 2016 CU1 download ได้จาก Link นี้ครับ ขนาดประมาณ 6Gb กว่าๆ
2. รัน setup exchange server 2016 cu1 กันเลยครับ
3. เครื่องออก internet ได้ก็เช็คอับเดตอะไรก็ว่าไปครับ เครื่องใครที่ออกเน็ตไม่ได้ก็ข้ามไปครับ
4. กด Next โลด
5. กดยอมรับและกด Next ต่อเลย
6. เลือกค่า setting ที่แนะนำแล้วก็กด Next ต่อเลย
7. ติ๊กเลือก Mailbox Server (Management Tool ติ๊กให้เองอัตโนมัติ) และติ๊ก Install Windows Server Roles and Features ให้อัตโนมัติให้เลย จากนั้น Next ต่อเลย
8. ระบุโฟลเดอร์ที่ติดตั้ง แล้วกด Next ต่อเลย
9. ระบุชื่อ Exchange Organization แล้วกด Next ต่อเลย
10. ต้องการปิดไม่ใช้ Malware protection ไหม (ผมเลือกปิดเพราะใน LAB อยากให้ VM ทำงานได้ไวกว่านิสนึง)
11. ปล่อยให้ตรวจเช็คความต้องการก่อนติดตั้งสักครู่ จะมี Error แจ้งขึ้นมาเยอะแยะมากมายไม่ต้องตกใจครับ เลื่อนลงมาหาบรรทัดนี้เพื่อดาวโหลดตัว UC API มาเก็บไว้ในเครื่องก่อน แล้วค่อย restart เครื่อง 1 ครั้งแล้วค่อยติดตั้ง UC API ที่ดาวโหลดมา จากนั้นค่อยเริ่มติดตั้ง Exchange ซ้ำอีกครั้ง
12. หลังจากจัดการกับ UC API และรีบูตเครื่องเรียบร้อยแล้ว มาติดตั้ง Exchange 2016 ซ้ำอีกครั้งจนถึงหน้า Readiness check ที่เดิมก็จะขึ้นให้กด Install ได้แล้วครับ ช้าอยู่ใย กดเลย
13. เสร็จเรียบร้อย
ลองเปิดดูหน้าตา ECP สักนิดนึงนะ
หน้า Login ECP ก็ฟิลลิ่งเดิมๆ นะไม่ต่างจาก 2013 มาก
โครงหน้าตา ECP ฟิลลิ่งไม่หนึ 2013 เลยครับ แทบจะยกมาทั้งดุ้นเลยก็ว่าได้
บทความนี้ก็พอหอมปากหอมคอ นะครับในตอนที่ 1 เดียวเราค่อยลงรายละเอียดเพิ่ม เรื่อยๆ ในตอนถัดๆ ไปนะครับ
บ๋าย……
หลังกจากได้มีโอกาสทดลองเทสเรื่องการทำ Exchange 2010 Hybrid กับ Office 365 แล้ว
เจ้ากรรมนายเวรดันมีปัญหาว่าแล้วฉันจะเอา Hybrid Deployment นี้ออกยังไงเพื่อจะได้ทดลอง Config Hybrid ซ้ำอีกรอบหนึ่ง
อะมาดูกันเลยดีกว่าครับ ไม่ยากจนเกินไป
ขั้นตอนที่ 1 ให้ทำการรันคำสั่งนี้เพื่อลบ Organization Relationship
Remove-OrganizationRelationship –Identity “On Premises to Exchange Online Organization Relationship”
ขั้นตอนที่ 2 ให้ทำการรันคำสั่งนี้เพื่อลบ FederationTrust
Remove-FederationTrust –Identity “Microsoft Federation Gateway”
ขั้นตอนที่ 3 ให้ทำการรันคำสั่งนี้เพื่อลบ Send Connector
Remove-SendConnector “Outbound to Office 365”