LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1194|回复: 1

对于253邮件试验的一点疑问

[复制链接]
发表于 2005-7-5 10:02:23 | 显示全部楼层 |阅读模式
这个例子对于stationY(源机器)=station2,并且stationX(转发,在这里目的机器)=station1,并且stationZ(目的机器)=station3


[root@station1 root]# telnet station1 25
Trying station1.example.com...
Connected to station1.example.com (station1.example.com).
Escape character is '^]'.
220 station1.example.com (IMail 8.00 9-1) NT-ESMTP Server X1
helo mail.craker.org
250 hello station1.example.com
mail from: spammer@craker.org
250 ok
rcpt to root@station3.example.com
250 ok its for <root@station3.example.com >
data
354 ok, send it; end with <CRLF>.<CRLF>
Subject: Relayed
this was faked any relayed!
.
250 Message queued
quit
221 Goodbye
Connection closed by foreign host.



这里应该是station2去TELNET station1吧。。。
还有relay的问题
请问这里是怎么得到RELAY权限的???
我的默认/etc/mail/access
# by default we allow relaying from localhost...
localhost.localdomain           RELAY
localhost                       RELAY
127.0.0.1                       RELAY
这样的。。。请问在不改access的情况下如何relay???
因为看access可以看出除了localhost都无法relay
不过试验证明。。。可以relay。。。。请教
 楼主| 发表于 2005-7-12 17:46:00 | 显示全部楼层
问题已经解决。。
回复 支持 反对

使用道具 举报

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

本版积分规则

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