Dino9021

技術記事與生活

2025-12-12

Configure IIS SMTP Service to receive mail over TLS and forward to a non-TLS SMTP service on one Windows Server

›
Scenario An older custom SMTP service only accepts unencrypted SMTP connections and does not support TLS. A solution is required to receive ...
2025-12-05

批次建立 win-acme 用 DNS Record 取得憑證的任務

›
批次建立 win-acme 用 DNS Record 取得憑證的任務 $RecordNames = @(); $RecordNames += "www"; $Domain = "contoso.com"; foreach ($R...

在 Azure DNS Zone 用 DNS Record 來驗證 Let's Encrypt 的 PowerShell Script

›
前情提要:  在 Microsoft DNS Server 上用 DNS Record 來驗證 Let's Encrypt 的 PowerShell Script AzureDNSZoneVerification.ps1 # -Step "create...
2025-11-26

PowerShell 更新 IIS Site Bind SSL Cert

›
$PublishedURL = "www.contoso.com" $IISSiteName = "www.contoso.com" $PFXPath = "C:\Cert\Cert\" $Password = ...
2025-11-20

在 Exchange Online 如果寄給某個外部網域的信件無法送達,不要退信給原寄件者

›
在 Exchange Online 如果寄給某個外部網域的信件無法送達,不要退信給原寄件者 方法是透過 Remote Domain 設定停用 NDR(Non-Delivery Report) 首先要建立 Remote Domain (在 EAC Mail flow -> A...
2025-10-24

Fix: SMTP Service MMC has detected an error in a snap-in

›
When right-click on [SMTP Virtual Server #1] in  IIS 6.0 Manager and SMTP Server,  you may get  this error: "MMC has detected an error ...
2025-10-23

Replace Ceritificate on IIS SMTP Virtual Server

›
$PFXPath = "C:\Cert\" $PFXPW  = '' $PublishedURL = "smtp.contoso.com" Import-Module WebAdministration $Microsoft...
2025-10-16

IIS SMTP 使用 WildCard 憑證無法啟用 TLS 的問題

›
WildCard 憑證如果用 MMC 匯入 Local Computer 的 Personal 後 SMTP Domain 的 Access -> Security communication 中 Require TLS encrypt 還是反灰不能勾選 此時開啟 IIS ...

IIS SMTP MMC 啟動錯誤

›
Stop-Service SMTPSVC Stop-Service IISAdmin notepad C:\Windows\System32\inetsrv\MetaBase.xml 找到 <IIsSmtpServer Location ="/LM/SmtpSvc...
2025-10-15

取出 MSSQL DB 中 ZIP 壓縮過的二進位 .eml 檔並取出 Subject 等資訊

›
Mail eml 格式檔案 ZIP 後存在 DB 裡,但某日發現 資料庫中有許多 Record 的 Subject 都錯誤 推測是歸檔程式有 Bug 的關係。 因為會影響搜尋結果,所以必須從資料庫中取出 ZIP 過的 eml 檔案 解壓後分析,再修正資料庫中的資料 以下程式包含上...
›
首頁
查看網路版
技術提供:Blogger.