Lines Matching full:mx

470 **		mxttl -- TTL of MX (or host)
514 ** If host->MX lookup was not secure then do not look up TLSA RRs.
553 // /* Do not reload TLSA RRs if the MX RRs were not securely retrieved. */
688 ** GETFALLBACKMXRR -- get MX resource records for fallback MX host.
697 ** host -- the name of the fallback MX host.
700 ** number of MX records.
707 int NumFallbackMXHosts = 0; /* Number of fallback MX hosts (after MX expansion) */
764 ** FALLBACKMXRR -- add MX resource records for fallback MX host to list.
767 ** nmx -- current number of MX records.
769 ** mxhosts -- array of MX hosts (maximum size: MAXMXHOSTS)
772 ** new number of MX records.
775 ** If FallbackMX was set, it appends the MX records for
832 ** GETMXRR -- get MX resource records for a domain
835 ** host -- the name of the host to MX [must be x]
836 ** mxhosts -- a pointer to a return buffer of MX records.
837 ** mxprefs -- a pointer to a return buffer of MX preferences.
840 ** DROPLOCALHOST -- If true, all MX records less preferred
843 ** TRYFALLBACK -- add also fallback MX host?
851 ** The number of MX records found.
853 ** If no MX records are found, mxhosts[0] is set to host
929 /* efficiency hack -- numeric or non-MX lookups */
953 ** If we don't have MX records in our host switch, don't
954 ** try for MX records. Note that this really isn't "right",
957 ** MX lookups. However, that should be a degenerate case.
993 /* no MX data on this host */
1092 /* Support for RFC7505 "MX 0 ." */
1099 sm_dprintf("found localhost (%s) in MX list, pref=%d\n",
1124 sm_dprintf("getmxrr: 1: host=%s, mx=%s, flags=%#lx\n", host, bp, flags);
1141 ** host MX 0 .
1160 /* Support for RFC7505 "MX 0 ." */
1164 sm_dprintf("getmxrr: Null MX record found, domain doesn't accept mail (RFC7505)\n");
1227 ** If we have deleted all MX entries, this is
1229 ** has an MX, and this should have been caught
1273 syserr("MX list for %s points back to %s",
1299 /* this may be an MX suppression-style address */
1381 sm_dprintf("getmxrr: 3: host=%s, mx=%s, flags=%#lx, ad=%d\n",
1425 ** MXRAND -- create a randomizer for equal MX preferences
1427 ** If two MX hosts have equal preferences we want to randomize
1474 ** BESTMX -- find the best MX for a name
1521 syserr("bestmx_map_lookup: MX host %.64s includes map delimiter character 0x%02X",
1561 syserr("bestmx_map_lookup: MX host %.64s includes map delimiter character 0x%02X",
1588 ** This algorithm tries to be smart about wildcard MX records.
1590 ** against a wildcard or a specific MX.
1595 ** If we match an MX in one pass and lose it in the next, we use
1596 ** the old one. For example, consider an MX matching *.FOO.BAR.COM.
1597 ** A hostname bletch.foo.bar.com will match against this MX, but
1600 ** there was also an MX record matching *.BAR.COM, but there are
1607 ** trymx -- if set, try MX records as well as A and CNAME.
1759 qtype == T_MX ? "MX" :
1843 ** wild card MX record, we will accept MX as well.
1888 ** If we are using MX matches and have
1903 ** in the absence of a wildcard MX this must
1904 ** still be a real MX match.
1905 ** Such MX matches are as good as an A match,
1975 ** exact MX record. Save it and get out of here.
1984 ** If this was a T_A query and we haven't yet found a MX