服务器在线 - 服务器软件 - 网站地图 服务器在线,专注于服务器技术!

当前位置:主页 > 邮件服务器 > Sendmail > 正文

sendmail error:Real domain name required for sender address

时间:2015-01-11    来源:服务器在线    投稿:泡泡    点击:

error:Real domain name required for sender address。

原因是因为hostname不对,不能是localhost.localdomain。

修改:hostname -v lucifo。

/etc/hosts 中一定是127.0.0.1 localhost.localdomain

mc文件中一定要把 LOCAL_DOMAIN(`localhost.localdomain')dnl

改成LOCAL_DOMAIN(`lucifo')dnl

> jBH0CIxs030054: to=kd [at] netnerd.ca, ctladdr=root (0/0), delay=00:00:00,
> xdelay=00:00:00, mailer=relay, pri=57738, relay=[127.0.0.1]
> [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by
> [127.0.0.1]

Specify *both* IP inte***ces in *.mc file you use to generate sendmail.cf
and recompile it.

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA-local')dnl
DAEMON_OPTIONS(`Port=smtp,Addr=192.168.1.100, Name=MTA-public')dnl

如果您的问题仍未解决,还可以加入服务器在线技术交流QQ群:8017413寻求帮助。


相关内容
最新热点内容