Prev | Current Page 952 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

Debugging switches by category (continued)
Category ?§ Description
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
15.7 Reference for -d in Numerical Order | 543
To find the canonical name of the local host, sendmail calls gethostname( ). If that call fails,
the name localhost is used. The hostname is then looked up with the internal routine sm_
gethostbyname( ), which gathers additional information (such as other names and addresses
for the machine) and fixes several bugs in some operating system versions of the
gethostby... routines. Next the canonical name for the local host is looked up. For operating
systems that normally support switched services, the name is looked up as specified.
For systems that specify switched services in the configuration file??™s ServiceSwitchFile
option (?§24.9.108 on page 1088), switched services are not used because the configuration
file has not been read yet. (This canonicalization process can be traced with the -d61.10
debugging switch.) If the canonical name is found and that name contains a dot, sendmail
saves the part of the name to the right of the leftmost dot as the domain name in the $m
sendmail macro (?§21.9.64 on page 833). It also appends the part of the name to the left of
the leftmost dot to the class w (?§22.


Pages:
940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964
ranking kasyn Praca dla pielegniarek Wczasy nad morzem szkolenia dla przedsiębiorców aragorn.binto.pl