Appendix B. Postfix Commands
Postfix command-line tools are listed below. Each one is fully documented in a manpage that comes with the Postfix distribution. This appendix is meant to give you an idea of what each command is used for. You should refer to the manpages for complete information about each of the commands:
postaliasCreates or queries alias databases.
-
postcat Prints the contents of queue files, allowing administrators to display the text of a message in the queue.
postconfDisplays or changes Postfix parameters. Can display one parameter at a time, or the entire list of parameters.
postdropInjects a message into the maildrop directory for delivery by Postfix.
postfixStarts and stops the Postfix system. Can also be used for other Postfix maintenance, such as checking the configuration and flushing the queue.
-
postkick Sends a request to a particular Postfix service. Meant to provide a way for shell scripts to communicate with Postfix services.
postlockLocks a specified file for exclusive access. Provides a means for shell scripts to use Postfix-compatible locking.
postlogLogs specified information to the system-logging facility. Provides a means for shell scripts to log information easily in a style similar to Postfix.
postmapCreates or queries lookup maps. Much of the Postfix configuration information is kept in lookup tables that are created by the postmap command.
postqueueProvides user-level access to the Postfix queue. Changes to the queue requiring super-user privileges ...