Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4565397
  • 博文数量: 1214
  • 博客积分: 13195
  • 博客等级: 上将
  • 技术积分: 9105
  • 用 户 组: 普通用户
  • 注册时间: 2007-01-19 14:41
个人简介

C++,python,热爱算法和机器学习

文章分类

全部博文(1214)

文章存档

2021年(13)

2020年(49)

2019年(14)

2018年(27)

2017年(69)

2016年(100)

2015年(106)

2014年(240)

2013年(5)

2012年(193)

2011年(155)

2010年(93)

2009年(62)

2008年(51)

2007年(37)

分类:

2010-09-09 22:52:26

Purpose


This example helps determine the mail server for a given email address. This is useful for determining your own SMTP mail server to use with NetMailBot.


If you are unsure of the name of the mail server for an email address, first try "mail.domain.com" or "smtp.domain.com". If niether work, try the following.


Requirements


Windows 98/Me/NT/2000/XP/2003. Not available for Windows 95.


Steps


Open a DOS Command Prompt
Type "nslookup".
Your computer's DNS Server name and IP address will be displayed.
Type "set type=mx" - This will cause NSLOOKUP to only return what are known as MX (Mail eXchange) records from the DNS servers.
For an example, type "hotmail.com" or use your own domain name.
Results returned should look similar to this:



Server: ns1.xxx.com

Address: 192.168.0.1



Non-authoritative answer:

hotmail.com MX preference = 5, mail exchanger = mx2.hotmail.com

hotmail.com MX preference = 5, mail exchanger = mx3.hotmail.com

hotmail.com MX preference = 5, mail exchanger = mx4.hotmail.com

hotmail.com MX preference = 5, mail exchanger = mx1.hotmail.com



hotmail.com nameserver = ns1.hotmail.com

hotmail.com nameserver = ns2.hotmail.com

hotmail.com nameserver = ns3.hotmail.com

hotmail.com nameserver = ns4.hotmail.com

mx2.hotmail.com internet address = 65.54.254.145

mx2.hotmail.com internet address = 65.54.252.230

mx2.hotmail.com internet address = 65.54.166.230

mx3.hotmail.com internet address = 65.54.254.140

mx3.hotmail.com internet address = 65.54.253.99

mx3.hotmail.com internet address = 65.54.167.5

mx4.hotmail.com internet address = 65.54.254.151

mx4.hotmail.com internet address = 65.54.253.230

mx4.hotmail.com internet address = 65.54.167.230

mx1.hotmail.com internet address = 65.54.254.129

mx1.hotmail.com internet address = 65.54.252.99

mx1.hotmail.com internet address = 65.54.166.99

ns1.hotmail.com internet address = 216.200.206.140

ns2.hotmail.com internet address = 216.200.206.139

ns3.hotmail.com internet address = 209.185.130.68

ns4.hotmail.com internet address = 64.4.29.24


Note the first line after "Non-authoritative answer".


The "MX preference" specifies which mail server to use and in which order. The lower the number, the more preferred the mail server is. In this case, since the preferences for each mail server are the same, you can use any of the four "mail exchangers".
阅读(1187) | 评论(0) | 转发(0) |
0

上一篇:我觉得公司该有的……

下一篇:文件加锁

给主人留下些什么吧!~~