This is an example of using multiple command line tools to verify information about an email server. This is old information for microsoft.com, but the procedure still applies.
First, get the MX record information. You can either do this using interactive nslookup or single line:
Default Server: server.domain.co.uk
> set type=mx
microsoft.com MX preference = 10, mail exchanger = mailc.microsoft.com
microsoft.com MX preference = 10, mail exchanger = maila.microsoft.com
microsoft.com MX preference = 10, mail exchanger = mailb.microsoft.com
maila.microsoft.com internet address = 18.104.22.168
maila.microsoft.com internet address = 22.214.171.124
mailb.microsoft.com internet address = 126.96.36.199
mailb.microsoft.com internet address = 188.8.131.52
mailc.microsoft.com internet address = 184.108.40.206
mailc.microsoft.com internet address = 220.127.116.11
nslookup -type=MX microsoft.com
or if you want to use a public DNS server
nslookup -type=mx microsoft.com 18.104.22.168
When you have the MX server information, see if you can telnet to port 25 of the remote server. As you can - each server has multiple IP addresses.
For example (using the above information)
telnet maila.microsoft.com 25
You should then get a banner similar to this:
220 mail04.microsoft.com Microsoft ESMTP MAIL Service ready at Thu, 7 Jan 2010 05:57:59 -0800
You can do further email acceptance tests using additional commands. The full telnet test procedure is outlined here: http://exchange.sembee.info/network/telnet-test.asp
© Sembee Ltd. 1998 - 2016.
Reproduction of any content on this web site is prohibited without express written consent. Use of this web site is subject to our terms and conditions.
All trademarks and registered trademarks are property of their respective owners. This site is not endorsed or recommended by any company or organisation mentioned within and is to provide guidance only and as such we cannot be held responsible for any consequences of following the advice given.
Sembee Ltd. is registered in England and Wales at 1 Carnegie Road, Newbury, Berkshire, RG14 5DJ.
Registered company number: 4704428. VAT Number GB 904 5603 43.