1.在一台机器上,如果有多个名字(hostname),而是用CNAME 建立的,如:
$ORIGIN games.net.cn
ftp IN A 140.119.1.2
gopher IN CNAME ftp
那麽可以不必在Cw上标明。系统会透过DNS 找到其 Canonical name。
2.如果一台机器有多个名字,可是,每个名字是用A record 建立的。如:
$ORIGIN games.net.cn.
ftp IN A 192.168.25.2
gopher IN A 192.168.25.2
这种情况【一定】要记得在Cw後写上你所要收信的名字。如果这个忘了写,会有怎样的问题呢?
忘了将会有从外面机器寄信来,没有写上的机器名将却收不到信,机器会抱怨:
"Local configuration error" 。
# Check the /usr/doc/sendmail-8.9.3/README.cf file for a description
# of the format of this file. (search for access_db in that file)
# The /usr/doc/sendmail-8.9.3/README.cf is part of the sendmail-doc
# package.
#
# by default we allow relaying from localhost...
localhost.localdomain RELAY
localhost RELAY