You can run "nslookup -q=mx domainname.com" to find the MX record for any domain.