This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
1.7 Basic Modes of sendmail | 19
1.7.1.1 Become a mode (-b)
The sendmail program can function in a number of different ways depending on
which form of -b argument you use. One form, for example, causes sendmail to display
the contents of the queue. Another causes sendmail to rebuild the aliases database.
A complete list of the -b command-line mode-setting switches is shown in
Table 1-2. We will cover only a few in this chapter.
The effects of some of the options in Table 1-2 can also be achieved by running sendmail
using a different name. Other names and a description of their results are shown
in Table 1-3. Each name can be a hard link with or a symbolic link to sendmail.
Table 1-1. Some command-line switches
Flag Description
??“b Set operating mode.
??“v Run in verbose mode.
??“d Run in debugging mode.
Table 1-2. Forms of the -b command-line switch
Form Description
-ba Use ARPAnet (Grey Book) protocols.
-bD Run as a daemon, but don??™t fork.
-bd Run as a daemon.
-bH Purge persistent host status.
-bh Print persistent host status.
-bi Rebuild alias database.
-bm Be a mail sender.
-bP Print number of entries in the queue (V8.12 and above).
-bp Print the queue.
-bs Run SMTP on standard input.
-bt Test mode: resolve addresses only.
Pages:
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69