วันอังคารที่ 20 กุมภาพันธ์ พ.ศ. 2567

Email First Contact Safety Tip

 

Exchange Online Anti-Phishing Policy


ใครใช้งานแล้วเจออีเมล์ที่แปะ Mail tip แจ้งเตือนเกี่ยวกับ Mail จาก Sender ที่เพิ่งเคยส่งเมล์หาเราครั้งแรกให้แกะกะรำคาญใจ 



อยากปิดไม่ให้แจ้งเตือนข้อความตามรูปได้ไหมให้เข้าไปปิดได้ที่ Anti-Phising ของ EOP ซะ





วันอังคารที่ 30 พฤษภาคม พ.ศ. 2566

Replace Exchange Receive Connector/Send Connector TLS Certificate

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


Recall Mail Condition to work and reason recall mail will fail

 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

 คำสั่ง 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


วันศุกร์ที่ 17 มิถุนายน พ.ศ. 2559

Exchange 2016 ตอนที่1

 

ห่างหายไปนานกับบทความที่เกี่ยวกับ 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 กันเลยครับ

image

3. เครื่องออก internet ได้ก็เช็คอับเดตอะไรก็ว่าไปครับ เครื่องใครที่ออกเน็ตไม่ได้ก็ข้ามไปครับ

image

4. กด Next โลด

image

5. กดยอมรับและกด Next ต่อเลย

image

6. เลือกค่า setting ที่แนะนำแล้วก็กด Next ต่อเลย

image

7. ติ๊กเลือก Mailbox Server (Management Tool ติ๊กให้เองอัตโนมัติ) และติ๊ก Install Windows Server Roles and Features ให้อัตโนมัติให้เลย จากนั้น Next ต่อเลย

image

8. ระบุโฟลเดอร์ที่ติดตั้ง แล้วกด Next ต่อเลย

image

9. ระบุชื่อ Exchange Organization แล้วกด Next ต่อเลย

image

10. ต้องการปิดไม่ใช้ Malware protection ไหม (ผมเลือกปิดเพราะใน LAB อยากให้ VM ทำงานได้ไวกว่านิสนึง)

image

11. ปล่อยให้ตรวจเช็คความต้องการก่อนติดตั้งสักครู่ จะมี Error แจ้งขึ้นมาเยอะแยะมากมายไม่ต้องตกใจครับ เลื่อนลงมาหาบรรทัดนี้เพื่อดาวโหลดตัว UC API มาเก็บไว้ในเครื่องก่อน แล้วค่อย restart เครื่อง 1 ครั้งแล้วค่อยติดตั้ง UC API ที่ดาวโหลดมา จากนั้นค่อยเริ่มติดตั้ง Exchange ซ้ำอีกครั้ง

image

12. หลังจากจัดการกับ UC API และรีบูตเครื่องเรียบร้อยแล้ว มาติดตั้ง Exchange 2016 ซ้ำอีกครั้งจนถึงหน้า Readiness check ที่เดิมก็จะขึ้นให้กด Install ได้แล้วครับ ช้าอยู่ใย กดเลย

image

13. เสร็จเรียบร้อย

image

 

ลองเปิดดูหน้าตา ECP สักนิดนึงนะ

หน้า Login ECP ก็ฟิลลิ่งเดิมๆ นะไม่ต่างจาก 2013 มาก

SNAGHTML27df245

โครงหน้าตา ECP ฟิลลิ่งไม่หนึ 2013 เลยครับ แทบจะยกมาทั้งดุ้นเลยก็ว่าได้

บทความนี้ก็พอหอมปากหอมคอ นะครับในตอนที่ 1 เดียวเราค่อยลงรายละเอียดเพิ่ม เรื่อยๆ ในตอนถัดๆ ไปนะครับ

 

บ๋าย……

วันอังคารที่ 21 กรกฎาคม พ.ศ. 2558

Exchange 2013 Back Pressure

การหลอกหลอนของอาการ Back Pressure เมื่อผู้ใดประสบพบเจอแล้วจะ หลงทางงมกันเป็นวันๆกว่าจะรู้สาเหตุ

เอาสัญญาณไปดูครับว่าเรากำลังโดน Back Pressure เล่นงานอยู่หรือเปล่า ดูได้จากอะไรเป็นตัวบอกอาการ

Back pressure conditions are logged to the Application event log under a series of event IDs:
  • Event ID 15004: Increase in the utilization level for any resource (eg from Normal to Medium)
  • Event ID 15005: Decrease in the utilization level for any resource (eg from High to Medium)
  • Event ID 15006: High utilization for disk space (ie critically low free disk space)
  • Event ID 15007: High utilization for memory (ie critically low available memory)



แหล่งที่มาของข้อมูล https://technet.microsoft.com/en-us/library/bb201658%28v=exchg.150%29.aspx

วันพฤหัสบดีที่ 15 มกราคม พ.ศ. 2558

ยกเลิก Exchange 2010 Hybrid Deployment

หลังกจากได้มีโอกาสทดลองเทสเรื่องการทำ Exchange 2010 Hybrid กับ Office 365 แล้ว

เจ้ากรรมนายเวรดันมีปัญหาว่าแล้วฉันจะเอา Hybrid Deployment นี้ออกยังไงเพื่อจะได้ทดลอง Config Hybrid ซ้ำอีกรอบหนึ่ง

 

อะมาดูกันเลยดีกว่าครับ ไม่ยากจนเกินไป

ขั้นตอนที่ 1 ให้ทำการรันคำสั่งนี้เพื่อลบ Organization Relationship

Remove-OrganizationRelationship –Identity “On Premises to Exchange Online Organization Relationship”

image

 

ขั้นตอนที่ 2 ให้ทำการรันคำสั่งนี้เพื่อลบ FederationTrust

Remove-FederationTrust –Identity “Microsoft Federation Gateway”

 

ขั้นตอนที่ 3 ให้ทำการรันคำสั่งนี้เพื่อลบ Send Connector

Remove-SendConnector “Outbound to Office 365”