Prev | Current Page 904 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

6 on page 668) cause the hostname appearing between
them to be looked up withDNS and replaced withits full canonical name. Again, the
macro h is prefixed with $& to prevent premature expansion.
In general, the debug_dumpstate rule set should be excluded from your configuration file.
When a problem does appear, you can define it, restart the daemon, and then wait for the
problem to reoccur. When it does, kill sendmail witha SIGUSR1 and examine the syslog
result.
Do not be tempted to use the debug_dumpstate rule set for routine logging of specialty information.
Forcing rules to be processed with a signal is fraught with danger. The current
active rule set can, for example, be clobbered in possibly unrecoverable ways. Use this
debug_dumpstate rule set technique only to solve specific problems, and then erase it when
the problem is solved.
14.2 Log Transactions with -X
Beginning withV8.2 sendmail, th e-X command-line switchcan be used to record all
input and output, SMTP traffic, and other significant transactions. The form of the -X
(transaction) command-line switch looks like this:
-X file
Space between the -X and the file is optional. The file can be specified as either a
full or a relative pathname. For security, the -X command-line switchalways causes
sendmail to give up its privileges unless it was run by root. If the transaction file cannot
be opened for writing, the following error is printed and no logging is done:
cannot open file
Otherwise, the file is opened in append mode, and each line that is written to it looks
like this:
pid what detail
The pid is the process identification number of the sendmail that added the line.


Pages:
892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916
aquilamed Spa Ciechocinek drzwiowe hosting hotele londyn