請問這是一種退信攻擊嗎?
exchange server 2019該如何去攔截無寄件者的信件?
設一條規則寄件者=<>,仍然攔截不到
請問有好方法嗎?謝謝!
前面先過濾掉不存在的收件者,如下:
Set-RecipientFilterConfig -RecipientValidationEnabled 1此法會衍生另一個問題,若對方寄的收件人包含1位空帳號,全數都不會寄出,也就是伺服器收到帳號不存在就停了!!但gmail、yahoo就沒有這個問題,尚不知對方是哪一牌的mail server
使用PowerShell建立規則
New-TransportRule -Name "Is Empty Mail" -Condition @( New-TransportRulePredicate -SenderAddressMatchesPatterns "^$" )
-Action @(
New-TransportRuleAction -RejectMessageReasonText "Empty sender addresses are not allowed."
)