关于通过dns和MX服务器直接发信的问题!请高手赐教!
sjdf 2003-10-15 01:34:45 首先声明:只是看了《程序员》杂志的那篇文章,不明白,所以问问,和垃圾邮件绝对无关……
不明白的就是如何通过dns找到163的MX记录,还有发信的具体过程是怎么样的。
我试着用foxmail给自己用特快专递发了一封信,在发信的同时用netstat -an得到foxmail连接的ip为202.108.250.35。收信后在信头看到如下信息:(其中425-1为我的机器名,218.11.78.210为我的ip)
Received: from unknown (unknown [192.168.1.35])
by mx8.163.com (Postfix) with SMTP id 1C5DA3
for <sjdf1@back.163.com>; Mon, 13 Oct 2003 15:39:31 +0800 (CST)
Received: from 425-1 (unknown [218.11.78.210])
by 192.168.1.35 (Coremail) with SMTP id WAoAALRWij8BAE7S.1
for <sjdf1@163.com>; Mon, 13 Oct 2003 15:39:33 +0800 (CST)
X-Originating-IP: [218.11.78.210]
From: "sjdf" <mjjify@sina.com>
To: sjdf1@163.com <sjdf1@163.com>
Subject: a test
X-mailer: Foxmail 4.2 [cn]
Mime-Version: 1.0
Content-Type: text/plain;
charset="GB2312"
Content-Transfer-Encoding: quoted-printable
Date: Mon, 13 Oct 2003 15:40:3 +0800
Message-Id: <20031013073931.1C5DA3@mx8.163.com>
是不是里面的mx8.163.com就是那个MX服务器?但是我用nslookup mx8.163.com不能得到它的ip啊,那么foxmail怎样得到它的ip是202.108.250.35?
然后我用telnet 202.108.250.35 25连接上去,显示
220 Coremail SMTP(Anti Spam) System (163com[20030606])
再用helo sjdf
得到250 192.168.1.35
再输入mail from:sjdf1@163.com
结果是550 <sjdf1@163.com>: Invalid User
我想难道要验证?就输入
auth logon
结果说不支持auth……401 This AUTH mechanism not support
哪位高人讲解一下,小弟愚笨,实在是不明白了…… 谢谢!