This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
6.7 Alphabetized Command-Line Switches | 239
create:
@echo building
@$(M4) -D_CF_DIR_=$(CFDIR) $(CFDIR)m4/cf.m4 ${MC_FILE}.mc > ${MC_FILE}.cf
@echo testing
@$(SENDMAIL) -C${MC_FILE}.cf -bt < /dev/null > /dev/null;
install:
mv /etc/mail/sendmail.cf /etc/mail/sendmail.cf.save
cp ${MC_FILE}.cf /etc/mail/sendmail.cf
Thereafter, to generate and install a new configuration file you just run the following
commands:
% cd /usr/local/src/sendmail/cf
% make
building
testing
% sudo make install
mv /etc/mail/sendmail.cf /etc/mail/sendmail.cf.save
cp yourhost.cf /etc/mail/sendmail.cf
%
As you gather more machines to administer, you can centralize many mc files in one place
and update the configuration files with a single command.
6.7.18 -c
Set HoldExpensive option to true Deprecated
The -c command-line switchis a synonym for the HoldExpensive option (?§24.9.55 on page
1036).
As of V8, this command-line switch has been deprecated and might not be included in
future versions. Note that -oc is still a legal form of shorthand that sets the HoldExpensive
option to true.
6.7.19 -D
Write debugging output to a file V8.13 and later
The -D command-line switchcauses sendmail to redirect sendmail??™s debugging output
(?§15.
Pages:
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449