- 论坛徽章:
- 0
|
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>; |
|