All commands in Sendmail can be run by using /usr/lib/sendmail -some_argument. However, some command line switches have been converted to links for convenience purposes. These commands are:


hoststat - Print the persistent host status report


mailq - Print the mailq to the screen.


newaliases - Rebuilds the alias database


purgestat - Purges the persistent host status report


smtpd - Run the Sendmail program in daemon mode


The host status report is a list of all hosts that Sendmail has connected to, how long ago it connected to that host, and the results of connecting to that host.


Arguments must be presented before any address that you might supply on the command line. For the most up-to-date listing of all of the command line switches that are available to you please consult the online manual.


man sendmail


Next Section: Directories and File Locations - 31 of 32



This Web Site Copyright © 1997 - 2008
by Alan Pae - All Rights Reserved