LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

postconf

Display and modify Postfix configuration

TLDR

Use alternate config directory
$ postconf -c [path/to/config_dir]
copy
Edit configuration parameters
$ postconf -e
copy
Show default settings
$ postconf -d
copy
Show parameters from specific class
$ postconf -C [builtin|service|user|all]
copy
List SASL plugin types
$ postconf -a
copy
List lookup table types
$ postconf -m
copy

SYNOPSIS

postconf [-c dir] [-d] [-e] [-C class] [parameters...]

DESCRIPTION

postconf displays and modifies Postfix mail server configuration. It reads and writes main.cf parameters, shows default values, and reports configuration warnings.The tool validates parameter names and warns about typos. It's essential for administering Postfix without manually editing configuration files.

PARAMETERS

-c _directory_

Alternate configuration directory
-d
Show default parameter values
-e
Edit main.cf with name=value pairs
-C _class_
Filter by parameter class
-a
List available SASL plugin types
-m
List available lookup table types
-n
Show only parameters with non-default values

INSTALL

sudo apt install postfix
copy
sudo dnf install postfix
copy
sudo pacman -S postfix
copy
sudo apk add postfix
copy
sudo zypper install postfix
copy
nix profile install nixpkgs#postfix
copy

CAVEATS

Changes via -e require postfix reload to take effect. Some parameters require restart. Modifying running server config requires care. Backup configuration before major changes.

HISTORY

postconf is part of Postfix, the mail transfer agent created by Wietse Venema as a secure alternative to Sendmail. It provides safe configuration management for the complex mail system.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid