免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1409 | 回复: 0
打印 上一主题 下一主题

[Mail] postfix 拒绝 localhost.localdomain 的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-03-24 08:36 |只看该作者 |倒序浏览
RedHat 9, Postfix,

我设置了阻止有不真实域名的发件人.  它工作良好, 但在 maillog 中 ,我发现

本机自动产生的有件(发件人是 root@localhost.localdomain)也被阻止了.
原因是 localhost.localdomain 域找不到.

而我的 /etc/hosts 中有 localhost.localdomain 的定义 (127.0.0.1)
而且
ping localhost.localdomain 也没有问题.

另外,我发现 这封信是由 sendmail 发出的. 而我使用的是 postfix .
sendmail 并没有启用. 这是怎么回事?

谢谢!

下面是一段 /var/log/maillog 中的一段.
Mar 24 08:01:00 mailhost sendmail[3224]: j2O010sx003224: from=root, size=175, class=0, nrcpts=1, msgid=<200503240001.j2O010sx003224@localhost.localdomain>;, relay=root@localhost
Mar 24 08:01:01 mailhost postfix/smtpd[3227]: connect from localhost[127.0.0.1]
Mar 24 08:01:01 mailhost postfix/smtpd[3227]: 03AE23ED8: client=localhost[127.0.0.1]
Mar 24 08:01:02 mailhost postfix/smtpd[3227]: reject: RCPT from localhost[127.0.0.1]: 450 <root@localhost.localdomain>;: Sender address rejected: Domain not found; from=<root@localhost.localdomain>; to=<root@localhost.localdomain>;
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP