Op donderdag 16 december 2021 12:05:51 CET schreef jdd@dodin.org:
Hello,
I noticed that in postfix config, a blank option mean that the default is no more used.
that is, for example,
alias_maps =
*remove* the default (lmdb:/etc/aliases)
is there a way (with postconf, for example) to list only such empty line? lines with no option set in main.conf.
I don't find this :-(
By the way it seems that "postconf -n" do not really display non default values, but values that are written down in the config file, even if they are identical to default values
thanks jdd
The man page gives: -n Show only configuration parameters that have explicit name=value settings in main.cf. Specify -nf to fold long lines for human readability (Postfix 2.9 and later). To show settings that differ from built-in defaults only, use the following bash syntax: comm -23 <(postconf -n) <(postconf -d) Replace "-23" with "-12" to show settings that duplicate built- in defaults. Does this help you? -- fr.gr. member openSUSE Freek de Kruijf