ORF反垃圾邮件系统

邮件服务器-邮件系统-邮件技术论坛(BBS)

 找回密码
 会员注册
楼主: hpebble
打印 上一主题 下一主题

[已解决] MD把局域网内邮件转发到外部租用到企业邮局问题

[复制链接]
11
发表于 2007-12-26 15:21:55 | 只看该作者

回复 10楼 的帖子

贴下我的中继日志:
Wed 2007-12-26 15:13:23: Attempting SMTP connection to [smtp.xxx.com:25]
Wed 2007-12-26 15:13:23: Resolving A record for [smtp.xxx.com] (DNS Server: x.x.x.x)...
Wed 2007-12-26 15:13:23: * smtp.xxx.com
Wed 2007-12-26 15:13:23: Attempting SMTP connection to [x.x.x.x:25]
Wed 2007-12-26 15:13:23: Waiting for socket connection...
Wed 2007-12-26 15:13:23: * Connection established (x.x.x.x:3407 -> x.x.x.x:25)
Wed 2007-12-26 15:13:23: Waiting for protocol to start...
Wed 2007-12-26 15:13:23: <-- 220 xxx.com ESMTP MAIL ready
Wed 2007-12-26 15:13:23: --> EHLO xxx.com
Wed 2007-12-26 15:13:23: <-- 250-xxx.com Hello xxx.com, pleased to meet you
Wed 2007-12-26 15:13:23: <-- 250-ETRN
Wed 2007-12-26 15:13:23: <-- 250-AUTH=LOGIN
Wed 2007-12-26 15:13:23: <-- 250-AUTH LOGIN CRAM-MD5
Wed 2007-12-26 15:13:23: <-- 250-8BITMIME
Wed 2007-12-26 15:13:23: <-- 250-STARTTLS
Wed 2007-12-26 15:13:23: <-- 250 SIZE 0
Wed 2007-12-26 15:13:23: --> STARTTLS
Wed 2007-12-26 15:13:23: <-- 220 Begin TLS negotiation
Wed 2007-12-26 15:13:23: SSL negotiation successful (TLS 1.0, 1024 bit key exchange, 128 bit RC4 encryption)
Wed 2007-12-26 15:13:23: --> EHLO xxx.com
Wed 2007-12-26 15:13:23: <-- 250-xxx.com Hello xxx.com, pleased to meet you
Wed 2007-12-26 15:13:23: <-- 250-ETRN
Wed 2007-12-26 15:13:23: <-- 250-AUTH=LOGIN
Wed 2007-12-26 15:13:23: <-- 250-AUTH LOGIN CRAM-MD5
Wed 2007-12-26 15:13:23: <-- 250-8BITMIME
Wed 2007-12-26 15:13:23: <-- 250 SIZE 0
Wed 2007-12-26 15:13:23: --> AUTH CRAM-MD5
Wed 2007-12-26 15:13:23: <-- 334 PE1EQUVNT04tRjIwMDcxMjI2MTUxMy5BQTEzMjM4MjZNRDAwMTJAc2gtaG9saWRheS5jb20+
Wed 2007-12-26 15:13:23: --> d3hoc2hAc2gtaG9saWRheS5jb20gYWFiM2JhMjdhZGVhMDI0ZGVjNmMxN2VhNGQ0NWJkZTQ=
Wed 2007-12-26 15:13:23: <-- 235 Authentication successful
Wed 2007-12-26 15:13:23: --> MAIL From:<wxhsh@xxx.com> SIZE=1838
Wed 2007-12-26 15:13:23: <-- 250 <wxhsh@xxx.com>, Sender ok
Wed 2007-12-26 15:13:23: --> RCPT To:<wxhsh@*.*>
Wed 2007-12-26 15:13:23: <-- 250 <wxhsh@*.*>, Recipient ok
Wed 2007-12-26 15:13:23: --> DATA
Wed 2007-12-26 15:13:23: <-- 354 Enter mail, end with <CRLF>.<CRLF>
Wed 2007-12-26 15:13:23: Sending <c:\mdaemon\queues\remote\pd35000000009.msg> to [x.x.x.x]
Wed 2007-12-26 15:13:23: Transfer Complete
Wed 2007-12-26 15:13:23: <-- 250 Ok, message saved <Message-ID: WorldClient-F200712261512.AA12370006@xxx.com>
Wed 2007-12-26 15:13:23: --> QUIT
Wed 2007-12-26 15:13:23: <-- 221 See ya in cyberspace
Wed 2007-12-26 15:13:23: SMTP session successful (Bytes in/out: 695/2235)
Wed 2007-12-26 15:13:23: ----------
12
 楼主| 发表于 2007-12-26 16:02:07 | 只看该作者
原帖由 wxhsh 于 2007-12-26 15:16 发表
我刚才特地测试了一下,是成功的,最好能贴下日志。


你在中继那儿没有输入用户名和密码?
日志贴在下面,我有把mail地址更改过了。

START Event Log / MDaemon PRO v9.6.2, SMTP(出) log information
-------------------------------------------------------------------------------
Event Time/Date             Event Description
-------------------------------------------------------------------------------
Wed 2007-12-26 15:51:37: Session 4; child 2
Wed 2007-12-26 15:51:36: Parsing message <d:\mdaemon\queues\remote\pd50000000013.msg>
Wed 2007-12-26 15:51:36: *  From: test@abc.com.cn
Wed 2007-12-26 15:51:36: *  To: test@msn.com
Wed 2007-12-26 15:51:36: *  Subject: testtesttest
Wed 2007-12-26 15:51:36: *  Message-ID: <[email=82ECE93FCA814BCEB79059F784AFCA65@mailserver]82ECE93FCA814BCEB79059F784AFCA65@mailserver[/email]>
Wed 2007-12-26 15:51:36: 试图 SMTP 连接到 [61.152.251.105]
Wed 2007-12-26 15:51:36: 尝试发送邮件到网关
Wed 2007-12-26 15:51:36: 试图 SMTP 连接到 [61.152.251.105:25]
Wed 2007-12-26 15:51:36: 正在等待套接字连接...
Wed 2007-12-26 15:51:36: *  连接已建立(192.168.0.3:1756 -> 61.152.251.105:25)
Wed 2007-12-26 15:51:36: 正在等待协议启动...
Wed 2007-12-26 15:51:36: <-- 220 Welcome to Qmail Toaster Ver. 1.0 smtp Server ESMTP
Wed 2007-12-26 15:51:36: --> EHLO abc.com.cn
Wed 2007-12-26 15:51:36: <-- 250-Welcome to Qmail Toaster Ver. 1.0 smtp Server
Wed 2007-12-26 15:51:36: <-- 250-AUTH LOGIN CRAM-MD5 PLAIN
Wed 2007-12-26 15:51:36: <-- 250-AUTH=LOGIN CRAM-MD5 PLAIN
Wed 2007-12-26 15:51:36: <-- 250-STARTTLS
Wed 2007-12-26 15:51:36: <-- 250-PIPELINING
Wed 2007-12-26 15:51:36: <-- 250 8BITMIME
Wed 2007-12-26 15:51:36: --> MAIL From:<test@abc.com.cn>
Wed 2007-12-26 15:51:37: <-- 250 ok
Wed 2007-12-26 15:51:37: --> RCPT To:<test@msn.com>
Wed 2007-12-26 15:51:37: <-- 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
Wed 2007-12-26 15:51:37: SMTP 会话终止(in/out 字节: 293/74)
Wed 2007-12-26 15:51:37: ----------
Wed 2007-12-26 15:51:37: Session 3; child 1
Wed 2007-12-26 15:51:35: Parsing message <d:\mdaemon\queues\remote\pd50000000012.msg>
Wed 2007-12-26 15:51:35: *  From: test@abc.com.cn
Wed 2007-12-26 15:51:35: *  To: test@gmail.com
Wed 2007-12-26 15:51:35: *  Subject: testtesttest
Wed 2007-12-26 15:51:35: *  Message-ID: <[email=82ECE93FCA814BCEB79059F784AFCA65@mailserver]82ECE93FCA814BCEB79059F784AFCA65@mailserver[/email]>
Wed 2007-12-26 15:51:35: 试图 SMTP 连接到 [61.152.251.105]
Wed 2007-12-26 15:51:35: 尝试发送邮件到网关
Wed 2007-12-26 15:51:35: 试图 SMTP 连接到 [61.152.251.105:25]
Wed 2007-12-26 15:51:35: 正在等待套接字连接...
Wed 2007-12-26 15:51:36: *  连接已建立(192.168.0.3:1754 -> 61.152.251.105:25)
Wed 2007-12-26 15:51:36: 正在等待协议启动...
Wed 2007-12-26 15:51:36: <-- 220 Welcome to Qmail Toaster Ver. 1.0 smtp Server ESMTP
Wed 2007-12-26 15:51:36: --> EHLO abc.com.cn
Wed 2007-12-26 15:51:36: <-- 250-Welcome to Qmail Toaster Ver. 1.0 smtp Server
Wed 2007-12-26 15:51:36: <-- 250-AUTH LOGIN CRAM-MD5 PLAIN
Wed 2007-12-26 15:51:36: <-- 250-AUTH=LOGIN CRAM-MD5 PLAIN
Wed 2007-12-26 15:51:36: <-- 250-STARTTLS
Wed 2007-12-26 15:51:36: <-- 250-PIPELINING
Wed 2007-12-26 15:51:36: <-- 250 8BITMIME
Wed 2007-12-26 15:51:36: --> MAIL From:<test@abc.com.cn>
Wed 2007-12-26 15:51:37: <-- 250 ok
Wed 2007-12-26 15:51:37: --> RCPT To:<123@gmail.com>
Wed 2007-12-26 15:51:37: <-- 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
Wed 2007-12-26 15:51:37: SMTP 会话终止(in/out 字节: 293/74)
Wed 2007-12-26 15:51:37: ----------
13
发表于 2007-12-26 16:14:50 | 只看该作者

回复 12楼 的帖子

我没有填,我是从一台测试服务器向正式服务器转发做的测试。
14
 楼主| 发表于 2007-12-26 16:21:42 | 只看该作者
估计和我的外部企业邮局设置有关系,因为他们不允许中转。而你的可能没有这方面设置问题。

关于特定帐户转发帖子还没找到,如果有链接请贴下给我,谢谢!

[ 本帖最后由 hpebble 于 2007-12-26 16:22 编辑 ]
15
发表于 2007-12-26 16:27:35 | 只看该作者

回复 14楼 的帖子

因为我的正式邮服也是禁止中继并验证FROM的,所以理论上应该也是可行的,可能是不兼容问题。

评分

参与人数 1技术积分 +5 收起 理由
hpebble + 5 感谢帮助

查看全部评分

16
发表于 2007-12-26 20:32:54 | 只看该作者
纳入精华,继续讨论
17
 楼主| 发表于 2007-12-27 10:16:41 | 只看该作者
发现我的MD在中继设置时,如果不输入用户名和密码点确定后再打开,就会变成图示情形,感觉是好像没有设置成功,不知道wxhsh的是不是这样。已经升级到MD最新版,也是一样。打电话去问MD的中国技术支持,还没回应。

[ 本帖最后由 hpebble 于 2007-12-27 10:18 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?会员注册

x
18
发表于 2007-12-27 10:25:25 | 只看该作者
刚试了一下,的确是BUG,用WA设置就正常了。
以下为我的截图:

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?会员注册

x
19
 楼主| 发表于 2007-12-27 14:51:05 | 只看该作者
测试了还是不行,打电话到MD上海,说如果外部邮局不开放中继是肯定不行。只有在中继设置用户名和密码才可以。不过发出去的mail头就是你设得这个邮箱头了
20
发表于 2007-12-27 16:14:32 | 只看该作者

回复 19楼 的帖子

蛮奇怪的事,理论上中继发送成功不会改FROM的,对方应该看到的还是原发送者的地址,而不是中继地址,除非对方做了限制。
您需要登录后才可以回帖 登录 | 会员注册

本版积分规则

小黑屋|手机版|Archiver|邮件技术资讯网

GMT+8, 2024-11-26 13:42

Powered by Discuz! X3.2

© 2001-2016 Comsenz Inc.

本论坛为非盈利中立机构,所有言论属发表者个人意见,不代表本论坛立场。内容所涉及版权和法律相关事宜请参考各自所有者的条款。
如认定侵犯了您权利,请联系我们。本论坛原创内容请联系后再行转载并务必保留我站信息。此声明修改不另行通知,保留最终解释权。
*本论坛会员专属QQ群:邮件技术资讯网会员QQ群
*本论坛会员备用QQ群:邮件技术资讯网备用群

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