找回密码
 立即注册
搜索
查看: 765|回复: 10

(求助)用MDaemon架设邮件系统,只能收信,不能发信,Help!

[复制链接]

232

主题

4907

回帖

6907

积分

网站编辑

CEO

积分
6907
发表于 2004-7-3 16:30:48 | 显示全部楼层 |阅读模式
近日给一家公司做网络系统,采用的是2MADSL上网方式,于是内部组成局域网,通过ADSL MODEM的路由功能共享上网。并购买了旭锐达公司(http://www.sharella.com)的动 ... �电脑上架设web ftp mail,但是在架设mail服务器的时候,发现有些问题,主要问题为内网架设的mail服务器不能往外发送邮件,虽然邮件系统提示已发送,但是过了许久会收到系统的一封退信,表明发送并未成功。我用MDaemon7.00架设邮件服务器。系统用windows2000Server版。
通过查看出错原因,邮件系统这样显示:
第一种情况:
Sat 2004-07-03 09:16:26: ----------
Sat 2004-07-03 09:16:26: Session 64; child 6
Sat 2004-07-03 09:16:24: Parsing Message <d:\mdaemon\remoteq\pd50000000010.msg>
Sat 2004-07-03 09:16:24: From: [email protected]
Sat 2004-07-03 09:16:24: To: [email protected]
Sat 2004-07-03 09:16:24: Subject: autologoin
Sat 2004-07-03 09:16:24: Message-ID: <[email protected]>
Sat 2004-07-03 09:16:24: MX-record resolution of [126.com] in progress (DNS Server: 10.0.0.138)...
Sat 2004-07-03 09:16:24: Name server has no records of the requested type for that domain.
Sat 2004-07-03 09:16:24: Attempting SMTP connection to [126.com : 25]
Sat 2004-07-03 09:16:24: A-record resolution of [126.com] in progress (DNS Server: 10.0.0.138)...
Sat 2004-07-03 09:16:25: D=126.com TTL=(1) A=[202.108.45.150]
Sat 2004-07-03 09:16:25: Attempting SMTP connection to [202.108.45.150 : 25]
Sat 2004-07-03 09:16:25: Waiting for socket connection...
Sat 2004-07-03 09:16:26: Winsock Error 10061 The other host is either down or has refused to connect with you at that IP and/or on that port.
Sat 2004-07-03 09:16:26: This message is 3 minutes old; it has 57 minutes left in this queue
Sat 2004-07-03 09:16:26: SMTP session abnormally terminated (Bytes in/out: 0/0)
Sat 2004-07-03 09:16:26: ----------
第二种情况:
Sat 2004-07-03 09:16:25: ----------
Sat 2004-07-03 09:16:25: Session 67; child 9
Sat 2004-07-03 09:16:24: Parsing Message <d:\mdaemon\remoteq\pd50000000013.msg>
Sat 2004-07-03 09:16:24: From: [email protected]
Sat 2004-07-03 09:16:24: To: [email protected]
Sat 2004-07-03 09:16:24: Subject: autologoin
Sat 2004-07-03 09:16:24: Message-ID: <[email protected]>
Sat 2004-07-03 09:16:24: MX-record resolution of [citiz.net] in progress (DNS Server: 10.0.0.138)...
Sat 2004-07-03 09:16:24: Name server has no records of the requested type for that domain.
Sat 2004-07-03 09:16:24: Attempting SMTP connection to [citiz.net : 25]
Sat 2004-07-03 09:16:24: A-record resolution of [citiz.net] in progress (DNS Server: 10.0.0.138)...
Sat 2004-07-03 09:16:25: Name server has no records of the requested type for that domain.
Sat 2004-07-03 09:16:25: This message is 3 minutes old; it has 57 minutes left in this queue
Sat 2004-07-03 09:16:25: SMTP session abnormally terminated (Bytes in/out: 0/0)
Sat 2004-07-03 09:16:25: ----------
以上两种情况出现在各大门户邮件地址中。

但是也有一个邮箱是例外的,就是浙江互联星空提供的邮件系统——zjip.com却发送成功!

Sat 2004-07-03 09:12:38: ----------
Sat 2004-07-03 09:12:39: Session 50; child 2
Sat 2004-07-03 09:12:36: Parsing Message <d:\mdaemon\remoteq\pd50000000015.msg>
Sat 2004-07-03 09:12:36: From: [email protected]
Sat 2004-07-03 09:12:36: To: [email protected]
Sat 2004-07-03 09:12:36: Subject: autologoin
Sat 2004-07-03 09:12:36: Message-ID: <[email protected]>
Sat 2004-07-03 09:12:36: Route slip host: zjip.com
Sat 2004-07-03 09:12:36: Route slip port: 25
Sat 2004-07-03 09:12:36: MX-record resolution of [zjip.com] in progress (DNS Server: 10.0.0.138)...
Sat 2004-07-03 09:12:36: Name server has no records of the requested type for that domain.
Sat 2004-07-03 09:12:36: Attempting SMTP connection to [zjip.com : 25]
Sat 2004-07-03 09:12:36: A-record resolution of [zjip.com] in progress (DNS Server: 10.0.0.138)...
Sat 2004-07-03 09:12:36: D=zjip.com TTL=(1300) A=[202.101.172.201]
Sat 2004-07-03 09:12:36: Attempting SMTP connection to [202.101.172.201 : 25]
Sat 2004-07-03 09:12:36: Waiting for socket connection...
Sat 2004-07-03 09:12:36: Socket connection established (10.0.0.1 : 1467 -> 202.101.172.201 : 25)
Sat 2004-07-03 09:12:36: Waiting for protocol initiation...
Sat 2004-07-03 09:12:39: <-- 220 Welcome, NaesaSoft MailPro En ESMTP
Sat 2004-07-03 09:12:39: --> EHLO greatchina.dhcn.net
Sat 2004-07-03 09:12:39: <-- 250-Welcome, NaesaSoft MailPro En
Sat 2004-07-03 09:12:39: <-- 250-AUTH=LOGIN
Sat 2004-07-03 09:12:39: <-- 250-PIPELINING
Sat 2004-07-03 09:12:39: <-- 250 8BITMIME
Sat 2004-07-03 09:12:39: --> MAIL From:<[email protected]>
Sat 2004-07-03 09:12:39: <-- 250 ok
Sat 2004-07-03 09:12:39: --> RCPT To:<[email protected]>
Sat 2004-07-03 09:12:39: <-- 250 ok
Sat 2004-07-03 09:12:39: --> RCPT To:<[email protected]>
Sat 2004-07-03 09:12:39: <-- 250 ok
Sat 2004-07-03 09:12:39: --> DATA
Sat 2004-07-03 09:12:39: <-- 354 go ahead
Sat 2004-07-03 09:12:39: Sending <d:\mdaemon\remoteq\pd50000000015.msg> to [202.101.172.201]
Sat 2004-07-03 09:12:39: Transfer Complete.
Sat 2004-07-03 09:12:39: <-- 250 ok 1088817193 qp 2280
Sat 2004-07-03 09:12:39: --> QUIT
Sat 2004-07-03 09:12:39: <-- 221 Welcome, NaesaSoft MailPro En
Sat 2004-07-03 09:12:39: SMTP session successful (Bytes in/out: 222/3358)
Sat 2004-07-03 09:12:39: ----------
出现这样的问题我查了很多原因,从服务器系统(换了2000server到2003)到邮件系统(MDaemon的各中英文版本),均出现同样的问题。我想请问这是什么原因?是动态服务内网系统造成的吗?我给很多单位都架设过邮件系统(有固定公网IP和动态域名非内网),都没出现这样的问题!特请技术员帮助解决,否则我的邮件系统只能收邮件,不能发邮件,功能是残缺的,达不到预期的效果!切以回复解决为盼,谢谢!

1138

主题

2万

回帖

3万

积分

管理员

几凡失意仍能傲!

积分
30570
发表于 2004-7-3 18:26:07 | 显示全部楼层
Sat 2004-07-03 09:16:25: Attempting SMTP connection to [202.108.45.150 : 25]
Sat 2004-07-03 09:16:25: Waiting for socket connection...
Sat 2004-07-03 09:16:26: Winsock Error 10061 The other host is either down or has refused to connect with you at that IP and/or on that port.

看Winsock错误提示是对方邮件服务器要么是Down了,要么是拒绝你连接这个IP或者是这个端口,出这个错误,有可能是对方邮件服务器的问题,和你的邮件服务器没有关系。


Sat 2004-07-03 09:16:24: Attempting SMTP connection to [citiz.net : 25]
Sat 2004-07-03 09:16:24: A-record resolution of [citiz.net] in progress (DNS Server: 10.0.0.138)...
Sat 2004-07-03 09:16:25: Name server has no records of the requested type for that domain.

这个错误提示说NameServer就没有这个citiz.net的记录,说明这个邮件地址就有问题。你PING一下citiz.net根本就不通,PING这个www.citiz.net才是通的,所以,[email protected]这个邮件地址就是有问题的。邮件服务器的MX记录就没有查询到。


最后发送成功的这个邮件地址所在的服务器是正常的,邮件服务器的NameServer记录也是存在的,即对方邮件服务器的MX记录可以查询到。


所以不一定就是你这个邮件服务器有问题,不可能你发送的所有邮件都会有问题吧?换别的邮件地址发送试试看,不行就用我的。
回复

使用道具 举报

232

主题

4907

回帖

6907

积分

网站编辑

CEO

积分
6907
 楼主| 发表于 2004-7-3 19:43:19 | 显示全部楼层
citiz.net是上海吸铁石邮局
我今天分别用[email protected]向 163.com 126.com 263.net tom.com sina100.com hotmail.com yahoo.com.cn 发送邮件,均未获成功!只有zjip.com这个成功收到信件。这里肯定有原因的啊 ,难道是内网惹的祸?我的服务器架设在内网,用的是内网IP,域名用了动态主机服务(内网)的。
回复

使用道具 举报

232

主题

4907

回帖

6907

积分

网站编辑

CEO

积分
6907
 楼主| 发表于 2004-7-3 19:46:55 | 显示全部楼层
我估计是 “要么是拒绝你连接这个IP或者是这个端口”这个原因居多,因为从日志上看也多是这种情况,那么出现这种情况,该如何解决呢?请指教!
回复

使用道具 举报

1138

主题

2万

回帖

3万

积分

管理员

几凡失意仍能傲!

积分
30570
发表于 2004-7-3 20:08:54 | 显示全部楼层
那我估计就是DNS的问题了,Mdaemon可以指定DNS的我记得,试试看把DNS设置好。因为从你的日志中显示是这个:DNS Server: 10.0.0.138
回复

使用道具 举报

232

主题

4907

回帖

6907

积分

网站编辑

CEO

积分
6907
 楼主| 发表于 2004-7-3 20:24:40 | 显示全部楼层
我是开通阿尔卡特的511e 猫上的路由的 10.0.0.138是进入猫的ip。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
回复

使用道具 举报

125

主题

1268

回帖

1854

积分

金牌会员

积分
1854
发表于 2004-7-3 20:52:40 | 显示全部楼层
10.0.0.138是网关而不是DNS服务器!
你在Mdeamon中手动指定DNS服务器了?让他自己找吧,要不然就用那个202.101.172.51或者是202.101.172.37
回复

使用道具 举报

232

主题

4907

回帖

6907

积分

网站编辑

CEO

积分
6907
 楼主| 发表于 2004-7-4 00:35:43 | 显示全部楼层
没有手动指定服务器 安装软件的时候那个选项是留空的

看来问题也不是出在这里   各位还有何高见?
回复

使用道具 举报

59

主题

1019

回帖

1134

积分

金牌会员

积分
1134
发表于 2004-7-5 20:43:45 | 显示全部楼层
端口映射的问题,你的ADSL猫开启了路由功能,那么就设置一个所有端口都映射到服务器的IP上吧
回复

使用道具 举报

dj_gsj 该用户已被删除
发表于 2004-7-6 12:21:34 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|海浩社区

GMT+8, 2025-9-21 07:01 , Processed in 0.084392 second(s), 22 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表