diff --git a/mxrouter.go b/mxrouter.go index afd7917..0146511 100644 --- a/mxrouter.go +++ b/mxrouter.go @@ -142,8 +142,7 @@ func handleConnection(connClt net.Conn, conLdap *ldap.Conn) { group := re.FindSubmatch([]byte(mxs[0].Host)) if len(group) < 3 || len(group[2]) == 0 { logstream.Err(fmt.Sprintln("MX format incorrect: ", mxs[0].Host)) - w - s := fmt.Sprintf("MX format incorrect: %s", err.Error()) + s := fmt.Sprintf("MX format incorrect: %s", mxs[0].Host) sendResponse(connClt, s, 500) continue }