home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


Previous Section Next Section

-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 in Section 3.2. 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 are defined in the Makefile and conf.h in the sendmail source (_PATH...).

    Previous Section Next Section