diff --git a/mx.go b/mx.go index 889e034..c9cbbee 100644 --- a/mx.go +++ b/mx.go @@ -12,8 +12,8 @@ type Mx struct { func (v *Verifier) CheckMX(domain string) (*Mx, error) { domain = domainToASCII(domain) mx, err := net.LookupMX(domain) - if err != nil { - return nil, ParseSMTPError(err) + if err != nil && len(mx) == 0 { + return nil, err } return &Mx{ HasMXRecord: len(mx) > 0,