-d0.10

Operating system defines Debug command-line switch

The -d0.10 debugging switch causes sendmail to print all the operating system-specific definitions that were used to compile your specific version of sendmail. This output prints after the “Compiled with:” information described earlier:

OS Defines: HASFCHOWN HASFCHMOD HASFLOCK HASGETUSERSHELL
            HASINITGROUPS HASLSTAT HASNICE HASRANDOM HASRRESVPORT
            HASSETREUID HASSETSID HASSETVBUF HASUNAME HASWAITPID IDENTPROTO
            IP_SRCROUTE SAFENFSPATHCONF USE_DOUBLE_FORK
 Conf file: /etc/mail/submit.cf (default for MSP)
 Conf file: /etc/mail/sendmail.cf (default for MTA)
  Pid file: /var/run/sendmail.pid (default)

The OS Defines are described in Table 3-2 on page 105. Most are automatically determined during compilation; others are specified in Makefile.

A Kernel symbols: line can also print on your machine. If so, it will show the name of the file (such as /dev/ksyms) that is accessed to determine the load average. It is automatically defined correctly when conf.c is compiled.

The location of the configuration files and the process identifier file is defined in the Makefile and conf.h in the sendmail source (_PATH... on page 131).

Get sendmail, 4th Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.