sendmail Desktop Reference

sendmail Desktop ReferenceSearch this book
Previous: ConventionsChapter 1Next: 1.2 Command-Line Switches
 

1. How to Run

Contents:
Alternative Names for sendmail
Command-Line Switches
Some Handy Debugging Switches
Rule-Testing Mode (-bt) Commands
Hints

The sendmail program is run by specifying its name followed by command-line switches, then recipient addresses. Some command-line switches cause sendmail to ignore its recipients, while others require their presence. One switch, -bt, places sendmail into interactive, rule-testing mode.

1.1 Alternative Names for sendmail

hoststat

Prints persistent host status information (see §36.1.1).

mailq

Prints the queue's contents (see §36.1.2).

newaliases

Rebuilds the aliases database file or files (see §36.1.3).

purgestat

Purges (zeroes) persistent host status information (see §36.1.4).

smtpd

Runs in daemon mode (see §36.1.5).


Previous: Conventionssendmail Desktop ReferenceNext: 1.2 Command-Line Switches
Conventions 1.2 Command-Line Switches