Microsoft Exchange Server
TMA-EXCHANGE-1.4
Ensure 'Blank sender field' is configured
Mô tả
When the Sender Filter Agent takes on messages from blocked senders or domains, the Action parameter is what is used when deciding what to do with these messages. Prints compliant when sender filter Action is Reject and BlankSenderBlockingEnabled is True. Run on each Edge Transport server. Run from an Exchange Management Shell or after `Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn`; the audit loads the snap-in itself when Get-ExchangeServer is missing and fails if it cannot.
Cách kiểm tra
Phương pháp kiểm tra: Lệnh shell
$ErrorActionPreference = 'Stop'; if (-not (Get-Command Get-ExchangeServer -ErrorAction SilentlyContinue)) { Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn -ErrorAction Stop }; if (-not (Get-Command Get-ExchangeServer -ErrorAction SilentlyContinue)) { throw 'Exchange Management Shell cmdlets are not available' }; $c = Get-SenderFilterConfig -ErrorAction Stop; if ("$($c.Action)" -eq 'Reject' -and $c.BlankSenderBlockingEnabled -eq $true) { 'compliant' } else { 'noncompliant' }- Đầu ra mong đợi
compliant
Cách khắc phục
Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng
Set-SenderFilterConfig -Action Reject -BlankSenderBlockingEnabled $true
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- exchangeantispam
- Tham chiếu
- CIS Microsoft Exchange Server 2019 Benchmark v1.0.1 - 1.4 Ensure 'Blank sender field' is configured
Kiểm tra máy này
Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.
tmaegis scan --target exchange