Chapter 8. The main.cf Configuration File

Similar to sendmail, Postfix uses a configuration file to define its operational behavior. What's different about the Postfix configuration file is that instead of using cryptic codes, or needing to be compiled, it uses plain text and common-sense descriptions for parameter names and values.

The global Postfix configuration file is called main.cf. It is located in the Postfix configuration directory, which by default is /etc/postfix. Many Postfix programs allow for utilizing an alternative configuration file by using the –C command-line option and specifying the different configuration directory.

This chapter describes the format and the most common parameters used in the main.cf configuration file. ...

Get Postfix now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.