28.06.2014 Views

Postfix Overview - Introduction - SCN Research

Postfix Overview - Introduction - SCN Research

Postfix Overview - Introduction - SCN Research

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Postfix</strong> Anatomy - Command-line Utilities<br />

Page 1 of 1<br />

<strong>Postfix</strong> Anatomy - Command-line Utilities<br />

Up one level | Receiving Mail | Delivering Mail | Behind the Scenes | Command-line Utilities<br />

Enough daemon talk. The anatomy lesson ends with an introduction to command-line utilities for day-to-day<br />

use of the <strong>Postfix</strong> mail system. Besides the sendmail, mailq, and newaliases commands that were already<br />

introduced, the <strong>Postfix</strong> system comes with it own collection of utilities. For consistency, these are all named<br />

postsomething.<br />

• The postfix command controls the operation of the mail system. It is the interface for starting and<br />

stopping the mail system, and for some other administrative operations. This command is reserved to the<br />

super-user.<br />

• The postalias command maintains <strong>Postfix</strong> alias databases. This is the program behind the newaliases<br />

command.<br />

• The postcat command displays the contents of <strong>Postfix</strong> queue files. This is a limited, preliminary utility.<br />

This program is likely to be superseded by something more powerful that can also edit <strong>Postfix</strong> queue<br />

files.<br />

• The postconf command displays <strong>Postfix</strong> main.cf parameters: actual values, default values, or parameters<br />

that have non-default settings. This is a limited, preliminary utility. This program is likely to be<br />

superseded by something more powerful that can not only list but also edit the main.cf file.<br />

• The postdrop command is the mail posting agent that is run by the sendmail command on systems that<br />

have no world-writable maildrop queue directory.<br />

• The postkick command makes some internal communication channels available for use in, for example,<br />

shell scripts.<br />

• The postlock command provides <strong>Postfix</strong>-compatible mailbox locking for use in, for example, shell<br />

scripts.<br />

• The postlog command provides <strong>Postfix</strong>-compatible logging for shell scripts.<br />

• The postmap command maintains <strong>Postfix</strong> lookup tables such as canonical, virtual and others. It is a<br />

cousin of the UNIX makemap command.<br />

• The postsuper command maintains the <strong>Postfix</strong> queue. It removes old temporary files, and moves queue<br />

files into the right directory after a change in the hashing depth of queue directories. This command is run<br />

at mail system startup time.<br />

Up one level | Receiving Mail | Delivering Mail | Behind the Scenes | Command-line Utilities<br />

http://www.porcupine.org/postfix-mirror/commands.html<br />

6/26/01

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!