Postfix configuration is held in the file /etc/postfix/main.cf. This file contains all configuration entries for general Postfix configuration as well as the locations of secondary configuration files for specific Postfix subsystems.
To familiarize you with the Postfix configuration, we will run through the default Postfix main.cf file, highlighting the important configuration options. The default main.cf file is heavily commented to give you a means to understand what the option means. In Listing 17-1, we have taken out the comments to conserve space, but take a look at your main.cf file while looking through this to see how it fits in with your configuration.
When editing the Postfix configuration files and restarting the Postfix system, you must be logged in as root.
Was this article helpful?