You can apply the following solution to resolve the issue affecting mail flow on exchange servers on the first day of 2022.
The server name should be written in the part that says ServerIdentity.
Set-MalwareFilteringServer <ServerIdentity> -BypassFiltering $true
Restart-Service MSExchangeTransport
To check
Get-MalwareFilteringServer | Format-List BypassFiltering