LinuxSir.cn,穿越时空的Linuxsir!

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

使用sendmail的一个小问题,请大家帮个忙

[复制链接]
发表于 2005-2-24 14:49:30 | 显示全部楼层 |阅读模式
当#telnet xx.xx.xx.xx 25
时,显示的是:220 localhost.localdomain ESMTP....
如何把上面的localhost.localdomain的显示改变成自己的MAIL域名,如:
220 linuxsir.cn ESMTP.....

也就是是发出去的信的信头中的:X-KAVProxy-Noop: xNoopEnd
Received: from localhost.localdomain (IP:XX.XX.XX.XX)
变成如:
X-KAVProxy-Noop: xNoopEnd
Received: from linuxsir.cn (IP: XX.XX.XX.XX)

谢谢
发表于 2005-2-24 15:35:24 | 显示全部楼层
看看你机子/etc/hosts.conf里面的设置!  把bind换到hosts起面应该就可以了!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-24 16:25:35 | 显示全部楼层
谢谢,修改HOSTS内容就可以了,把127.0.0.1后面的改为的域名就可以了
回复 支持 反对

使用道具 举报

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

本版积分规则

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