testmxlookup - look up mail relays for a domain

SYNOPSIS

testmxlookup domain

DESCRIPTION

The testmxlookup command displays the names and IP addresses of network servers that accept mail for a given fully-qualified domain name. testmxlookup is used a troubleshooting and debugging aide.

The testmxlookup command sends a DNS MX query for the given domain. Depending on the reply testmxlookup may also send a follow-up A or AAAA DNS query. testmxlookup displays the hostname and the IP address of every mail relay, and its associated priority.

DIAGNOSTICS

The error message "Hard error" indicates that the indicated domain does not have any mail relays. The error message "Soft error" indicates a temporary problem while attempt to reaching the local DNS server.

SEE ALSO

courier(8), ftp://ftp.isi.edu/in-notes/rfc1035.txt