Postfix

From Christoph's Personal Wiki
Jump to: navigation, search

Postfix is a free software / open source mail transfer agent (MTA), a computer program for the routing and delivery of email. It is intended as a fast, easy-to-administer, and secure alternative to the widely-used Sendmail MTA.

Base configuration

The main.cf file stores site specific Postfix configuration parameters while master.cf defines daemon processes. The Postfix Basic Configuration tutorial covers the core settings that each site needs to consider.

Configuration settings for a few common environments are discussed in Postfix Standard Configuration Examples.

Address rewriting and mail routing are covered in Postfix Address Rewriting. The full documentation collection is at Postfix Documentation.

Examples

postalias /etc/postfix/aliases

Then create /etc/postfix/aliases.db

postfix reload
postconf -n
postfix check

Utilities

postalias
Postfix alias database maintenance
postcat
show Postfix queue file contents
postconf
Postfix configuration utility
postconf
Postfix configuration parameters
postdrop
Postfix mail posting utility
postfinger
Postfix configuration extraction utility
postkick
kick a Postfix service
postlock
lock mail folder and execute command
postlog
Postfix-compatible logging utility
postmap
Postfix lookup table management
postqueue
Postfix queue control
postsuper
Postfix superintendent

External links