随笔 - 350  文章 - 0  评论 - 6  阅读 - 29万

凯中故障5:2022年1月1日所有邮件不能发送接收(Email Stuck in Exchange On-premises Transport Queues)

https://techcommunity.microsoft.com/t5/exchange-team-blog/email-stuck-in-exchange-on-premises-transport-queues/ba-p/3049447

https://social.microsoft.com/Forums/zh-CN/7d89cff5-7189-497e-8606-d81018acea0e/exchange214573686520869370963703820214349872534636215?forum=exchangeserverzhchs

 

2022年1月1日发现用户无法发送接收邮件(邮件全部卡在提交队列),故障原因如下图

 

1月1日临时解决办法:

使用命令行管理程序在特定 Exchange 服务器上临时绕过恶意软件筛选:
若要临时绕过恶意软件筛选,请运行如下命令:
Set-MalwareFilteringServer -identity kz-psex01 -BypassFiltering $true

Set-MalwareFilteringServer -identity kz-psex02 -BypassFiltering $true

 

然后重启传输服务后,邮件收发正常

使用命令行管理程序在特定 Exchange 服务器上禁用恶意软件筛选:
若要禁用恶意软件筛选,请运行如下命令:
& $env:ExchangeInstallPath\Scripts\Disable-Antimalwarescanning.ps1服务器

若要从新启用恶意软件筛选,请使用 Enable-Antimalwarescanning.ps1 
若要验证是否禁用了恶意软件筛选,请运行如下命令并确认它是否返回值 False:
Get-TransportAgent “Malware Agent”ide

使用命令行管理程序在特定 Exchange 服务器上临时绕过恶意软件筛选:
若要临时绕过恶意软件筛选,请运行如下命令:
Set-MalwareFilteringServer -BypassFiltering $true
若要还原恶意软件筛选,请运行如下命令:
Set-MalwareFilteringServer -BypassFiltering $false
若要验证是否绕过了恶意软件筛选,请运行如下命令并确认它是否返回值 True:
Get-MalwareFilteringServer | Format-List BypassFiltering命令行

 

1月4号上班后发现微软发布了脚本解决办法如下: (下载脚本,运行脚本)

Using the Automated Solution

  • Download the script here: https://aka.ms/ResetScanEngineVersion 
  • Before running the script, change the execution policy for PowerShell scripts by running Set-ExecutionPolicy -ExecutionPolicy RemoteSigned.
  • Run the script on each Exchange mailbox server that downloads antimalware updates in your organization (use elevated Exchange Management Shell).

Set-MalwareFilteringServer -identity kz-psex01 -BypassFiltering $false

Set-MalwareFilteringServer -identity kz-psex01 -BypassFiltering $false

然后重启传输服务

posted on   遇见阿杜  阅读(189)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 提示词工程——AI应用必不可少的技术
· 地球OL攻略 —— 某应届生求职总结
· 字符编码:从基础到乱码解决
· SpringCloud带你走进微服务的世界
历史上的今天:
2021-01-04 运维技巧(35):强制挂载数据库(已复习)
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示