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
this limits incoming mail processed by by smrsh and /bin/mail to 1 million bytes.
you can do the same with the mstmp, mesmtp, and mrelay statements to limit the size of outgoing mail as well. you can do the same with the mstmp, mesmtp, and mrelay statements to limit the size of outgoing mail as well.