Closed dotBATmanNO closed 4 years ago
` If ( $MXRec -eq "." )
{
If ($MXRecord.Preference -eq 0)
{
# With a preference of 0 this is a valid NullMX record
$MXRec = "Null MX (RFC7505)"
}
else
{
$MXRec = "[Invalid:] Null MX (RFC7505) should have Preference=0, was $($MXRecord.Preference)."
}
}
`
Add verification that the . (dot) MX record has a preference of 0.