Command-Line Switches
Command-line switches are command-line arguments that begin with a
-
character, and precede the list of recipients
(if any). The forms for command-line switches, where
X
is a single letter, are:
-X ← Boolean switch -Xarg ← switch with argument
All switches are single letters. The complete list is shown in Table 15-2.
Switch |
§ |
Version |
Description |
|
V8.12 and above |
Specify sendmail.cf versus submit.cf | |
|
V8.1 and above |
Specify message body type | |
|
All versions |
Set operating mode | |
|
Not V8.1- V8.6 |
Use ARPAnet/Grey Book protocols | |
|
V8.8 and above |
Run as a daemon, but don’t fork | |
|
All versions |
Run as a daemon | |
|
V8.8 and above |
Purge persistent host status | |
|
V8.8 and above |
Print persistent host status | |
|
All versions |
Initialize alias database | |
|
All versions |
Be a mail sender (the default) | |
|
V8.12 and above |
Print number of messages in the queue | |
|
All versions |
Print the queue | |
|
All versions |
Run SMTP on standard input | |
|
All versions |
Rule-testing mode | |
|
All versions |
Verify: don’t collect or deliver | |
|
Not V8 |
Freeze the configuration file | |
|
All versions |
Location of the configuration file | |
|
(deprecated) |
Set HoldExpensive option to true | |
|
All versions |
Enter debugging mode | |
|
Sony NEWS only |
Japanese font conversion ... |
Get Sendmail, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.