A robust email, calendaring, and collaboration platform developed by Microsoft, designed for enterprise-level communication and data management.Miscellaneous topics that do not fit into specific categories.
您好,
欢迎来到微软论坛
Exchange 服务器上的协议日志保留期限默认不是四天,所以可能是配置被调整过。
使用以下命令来查看当前的日志配置:
Get-TransportService | fl *logmaxage*
如果你想调整指定服务器上的SMTP日志保留时间,可以使用以下命令:
Set-TransportService -Identity <ServerName> -ProtocolLogMaxAge <TimeSpan>
例如,将日志保留时间设置为30天:
Set-TransportService -Identity "Server1" -ProtocolLogMaxAge 30.00:00:00