Skip to main content

Posts

Showing posts with the label exchange

GỠ BỎ PROXY ADDRESS KHI MIGRATION EXCHANGE

  Script để remove hàng loạt proxy address đã tạo bởi Email Addresss Polices trong Exchange. Lý do là Email Address Policies chỉ có tác dụng add thêm, không có tác dụng remove proxy address, nên cần script này để gỡ. ============================== Get-ADUser -Properties proxyaddresses -Filter {ProxyAddresses -like '*@xxxxx.vn'} |     ForEach { # Account may have more than one email address in scope so need to loop through each one         ForEach ($proxyAddress in $_.proxyAddresses) {             If ($proxyAddress -like '*@xxxxxx.vn') {                 # Write-Host $proxyAddress                 Set-ADUser $_.SamAccountName -Remove @{ProxyAddresses=$proxyAddress}                                 }         }         ...

CẤU HÌNH CLAUDE DESKTOP ĐỌC/TỔNG HỢP EMAIL TỪ EXCHANGE SERVER

 1. Cài bộ Cdata Code Assist MCP for Exchange, rồi bắt đầu cấu hình Cấu hình Exchange version, 2016/2019 vẫn dùng chung 2013_SP1 được Khai báo đường dẫn Exchange EWS Bấm Save & Test . Nếu khai báo đúng sẽ báo successful. Bấm Next qua bước tiếp theo 2. Chọn AI MCP tool: Chọn AI MCP phù hợp (vd: Claude Desktop). Bấm Save 3. Nếu gặp lỗi không thể save configure thì có thể do Claude Desktop cập nhật đường dẫn chứa file config Để khắc phục: tạo lại link bằng lệnh sau: mklink /D "C:\Users\{username}\AppData\Roaming\Claude" "C:\Users\{username}\AppData\Local\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude". 4. Lúc này là đã cấu hình xong MCP server, có thể bấm Close. Sau đó khởi động lại Claude Deskop Claude Desktop sẽ tự nhận thấy MCP Server trong quá trình khởi động. Để kiểm tra Claude Desltop đã kết nối MCP Server, bạn vào Settings - Developer

CẤU HÌNH SPF, DKIM, DMARC CHO EXCHANGE SERVER

 CẤU HÌNH SPF, DKIM, DMARC CHO EXCHANGE SERVER A. DKIM 1. Tải bộ ký DKIM signer 2. Tạo record Cài xong, mở Configure, đẩy mục "Exchange DKIM signer" lên đầu tiên Cấu hình DKIM Header và Body ở mức Relaxed Đặt tên Selector, bấm Generate new key, Save domain. Copy key rồi qua trang quản lý DNS của tên miền (vd: PAVN, Mắt Bão...) tạo record txt Test lại DKIM ở trang: https://dkimvalidator.com/ B. DMARC Vào trang  https://kitterman.com/dmarc/ để tạo

GIA HẠN SSL CHO EXCHANGE SERVER 2019

LINK: https://www.alitajran.com/create-certificate-exchange-server/#h-step-2-generate-exchange-certificate-request  ==Create request SSL New-ExchangeCertificate -Server "EXIDC1" -GenerateRequest -FriendlyName "EXCERT2025" -PrivateKeyExportable $true -SubjectName "c=VN, s=HCM, l=HCM, o=TTT, ou=IT, cn=mail.ttt.vn" -DomainName mail.ttt.vn,autodiscover.ttt.vn,autodiscover.saigonxanh.com,autodiscover.mpu.edu.vn ==Complete SSL Import-ExchangeCertificate -FileData ([System.IO.File]::ReadAllBytes('\\exidc1\Cert$\2378696128.crt')) -PrivateKeyExportable:$true -Password (ConvertTo-SecureString -String 'tttcompany' -AsPlainText -Force)

TẠO DKIM RECORD CHO EXCHANGE SERVER

  Source: https://www.linkedin.com/pulse/how-configure-dkim-exchange-2019-simple-way-seyed-abdollahi Installation In Exchange Online DKIM is a built-in service, but on an on-prem Exchange 2019 deployment we need a 3rd party application to add this functionality to our Exchange infrastructure. In this guide we use Stefan Profanter's excellent dkim-exchange application for this purpose, which is available here:  https://github.com/Pro/dkim-exchange/releases/latest After installing the program, we open  Configuration.DkimSigner.exe and click on the "Install" button, or download the installer straight from https://codeload.github.com/Pro/dkim-exchange/legacy.zip/v*** Configuration After installation finished, open the configurator. C:\Program Files\Exchange DkimSigner\Configuration.DkimSigner.exe Click on the "Configure" button and move the DkimSigner agent to the very bottom of the list. Under the DKIM settings tab select relaxed canonicalization as Exchange t...