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


sendmail

sendmailSearch this book
Previous: 37.3 Interpreting the Output Chapter 37
Debugging with -d
Next: 37.5 Reference in Numerical Order
 

37.4 Pitfalls

  • It is best to debug sendmail in a window environment, within script (1), with emacs (1), or something similar. Debugging output can run to many screens.

  • Activities of the daemon can be observed only if the -d99.100 debugging switch is combined with the others selected. This switch prevents the daemon from disconnecting from the controlling terminal. Without this switch, sendmail silently discards its debugging output.

  • Sometimes debugging output seems not to be printed:

    % 
    
    /usr/lib/sendmail -d11.1 you < /dev/null
    
    
    %

    When this happens, add the -v command line switch to keep the output attached to your screen:

    % 
    
    /usr/lib/sendmail -v -d11.1 you < /dev/null
    
    
    
           <- many lines of output here
    
    %

  • There must be no space between the -d and its numeric arguments. If you put space there, the numeric arguments may be interpreted as recipient addresses.


Previous: 37.3 Interpreting the Output sendmail Next: 37.5 Reference in Numerical Order
37.3 Interpreting the Output Book Index 37.5 Reference in Numerical Order