postconf
Postfix configuration utility. tldr-pages
On Linux
Linux
Postfix configuration utility. This command displays the values of the main.cf configuration parameters by default and warns about possible mistyped parameter names. It can also change the main.cf configuration parameter values.
Specify the directory of the main.cf configuration file instead of the default configuration directory
postconf -c path/to/configuration_directoryIdentifyEdit the main.cf configuration file and update parameter settings with the "name=value" pairs
postconf -eIdentifyPrint the default parameter settings of the main.cf instead of the actual settings
postconf -dIdentifyDisplay parameters only from the specified class
postconf -C builtinIdentifyList available SASL plug-in types for the Postfix SMTP server. The plug-in type is selected with the smtpd_sasl_type configuration parameter by specifying cyrus or dovecot as the name
postconf -aIdentifyList the names of all supported lookup table types. Lookup tables are specified as type:name in configuration files where the type can be btree, cdb, hash, mysql, etc.
postconf -mIdentify