The -d8.2 debugging switch shows the hostname before it is fully qualified with this call:
dns_getcanonname(host, flag)
If the flag is nonzero, calls to the getmxrr( ) routine (which looks up MX records) are also
traced. On entry to that routine, sendmail will print:
getmxrr(host, droplocalhost=bool)
The host is the hostname whose MX records are being looked up. The bool, if nonzero,
means that all MX records that are less preferred than the local host (as determined by $=w)
will be discarded. If zero, they will be retained.
Table 15-6. Resolver errors from
Value Mnemonic Description
-1 NETDB_INTERNAL Error in the lookup code, see errno=
0 NETDB_SUCCESS Success
1 HOST_NOT_FOUND Host not found
2 TRY_AGAIN Temporary DNS server failure
3 NO_RECOVERY Nonrecoverable errors and refusals
4 NO_DATA Valid name but no record of requested type
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 | 549
The -d8.2 debugging switchalso causes sendmail to show the result of processing the
ResolverOptions option??™s settings (?§24.9.98 on page 1080) while reading the configuration
file:
_res.options = hex, HasWildcardMX = 1 or 0
The hex is a hexadecimal representation of the state structure??™s options variable as
described in
Pages:
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975