127.0.0.1 localhost myhost.mydomain.eu myhost.domain2.eu localhost.localdomain 127.0.1.1 myhost
在hosts文件中.怎么了? Sendmail开始将此错误记录到日志中.
May 9 19:08:54 myhost sm-mta[17103]: unable to qualify my own domain name (myhost) — using short name
这个配置好吗?
重新排序/ etc / hosts文件条目:
127.0.0.1 localhost localhost.localdomain 127.0.1.1 myhost.mydomain.eu myhost.domain2.eu myhost
它应该将myhost限定为myhost.mydomain.eu(/ etc / hosts行中最左边的名称与myhost)