I just implemented MTA-STS in my domain and using PowerShell 5.1, found I was always seeing the following error, even though my mta-sta.txt file was properly formatted with CRLF.
MTA-STS Policy: The policy file does not have the correct CRLF line endings!
Confirmed the same behavior running Test-MtaStsPolicy microsoft.com
I just implemented MTA-STS in my domain and using PowerShell 5.1, found I was always seeing the following error, even though my
mta-sta.txt
file was properly formatted with CRLF.MTA-STS Policy: The policy file does not have the correct CRLF line endings!
Confirmed the same behavior running
Test-MtaStsPolicy microsoft.com