2025-12-24

Windows Server 2025 刪除 IIS的SMTP模組

  Windows Server 2025 刪除 IIS的SMTP模組

https://techcommunity.microsoft.com/discussions/windowsserverinsiders/smtp-server-removed-in-windows-server-2025/4052935

 

Windows Server 2022的IIS SMTP模組又有一個小bug

https://blog.uwinfo.com.tw/auth/article/darren/570


如果你是用 win server 2022,就會出現掛掉無法編輯使用的狀況,不知為何win server 2022 會有這個奇怪的bug

請遵照下面步驟修改,就可以正常運作

1. Stop SMTPSVC service [Display Name: Simple Mail Transfer Protocol (SMTP)]

2. Stop IISADMIN service [Display name: IIS Admin Service]

3. Edit "C:\Windows\System32\inetsrv\MetaBase.xml"

4. Find: <IIsSmtpServer Location ="/LM/SmtpSvc/1"

5. Add (Settings are alphabetical): RelayIpList=""

6. Save file

7. Start IISAdmin Service

8. Start SMTPSVC service

 

發現依然會異常,後來從下列討論串

Server 2022 SMTP Server issue - Server Fault

回文建議多加入

  • AccessSSLFlags="0"
  • AuthFlags="AuthAnonymous"
  • IPSecurity="18000080200000807800008080000080010000008800000000000000000000000400000003000000020000000200000002000000e00000009c000080020000000100000002000000f000000090000080020000000200000002000000fe00000094000080020000000200000004000000000000008800008000000000000000000000000000000000ffffffff7f000001fffff000fffffe00c2f67600ffffe000d4190000"
  • RelayForAuth="4294967295"
  • SaslLogonDomain=""
  • SmtpInboundCommandSupportOptions="7697601"


結果成功了

結論:
要用IIS SMTP作為Mail Relay跳板,建議降版用Windows Server 2019吧!


沒有留言:

張貼留言

Windows Server 2025 刪除 IIS的SMTP模組

  Windows Server 2025 刪除 IIS的SMTP模組 https://techcommunity.microsoft.com/discussions/windowsserverinsiders/smtp-server-removed-in-windows-ser...