- 论坛徽章:
- 0
|
每天还在报这些信息???
[quote]原帖由 "albert"]由于你没有用到域名,所以/etc/mail/sendmail.cf中“Dj$w.hpaps” 这一行应该注释掉,否则系统sendmail时会把hpaps 作为域名加到主机名后组成完整的长名 hpaps.hpaps来访问,系统当然就会报“unable to qualify my o..........[/quote 发表:
Dj$w就是为了没有域名的时候,在Dj$w.后面加上自己的域名用的!
所以,若不用FQDN域名(一般用/etc/hosts)做名字解析的时候,要把这行的注释去掉!
=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-====-=-=-=-=-=-=-=
# My official domain name or Fully Qualified Domain Name - FQDN (Dj): #
# #
# This is required only if sendmail cannot automatically determine your #
# domain. If you are not using DNS, and the official host name (ie, #
# the first entry in /etc/hosts following your IP address) is not a #
# fully-qualified host name, then sendmail will have difficulty resolving #
# your domain name. You MUST modify the $j macro by replacing .Foo.COM #
# with your actual domain name. If you do not, you will see a warning #
# message in your syslog, that might even get echo'd to your console #
# when sendmail starts up. #
# #
# For example, if you see this warning: #
# #
# WARNING: local host name (sys1) is not qualified; fix $j in config file #
# #
# then you need to uncomment the Dj macro and add your domain. #
# #
# Change the line: #
# #Dj$w.Foo.COM #
# to #
# Dj$w.hp.com #
# #
# where hp.com would be the name of your domain. Then that warning #
# message will go away. # |
|