Thomas Ackermann a écrit : > Brian Evans - Postfix List schrieb: >> 'Postconf -d' means "show me the DEFAULTS not what is current". >> > > Uh.. > > I already feared a realy stupid mistake on my side :) > > I used it in this sense, so far - but assumed that this default will be > overwritten (and displayed) when actually set in main.cf > So, that "-d" outputs the complete settings for default settings and all > new settings (instead of the default).
no, "-d" shows the default values only, the values postfix was built with. it doesn't show any "new settings". > > So, i cannot save my config with "-d" and not with "-n", but need to use > the "-n" output and exchange any changed output from default to the new > values. Will read "man postconf" again :D > what you mean is unclear. To set a variable, use 'postconf -e' or edit main.cf To see the values of variables that are set in main.cf, use 'postconf -n' To see the defaut values, i.e. the values set when postfix is compiled, use 'postconf -d' notes: postconf -n does not show the values of custom variables. in particular, if you create smtpd_restriction_classes, you won't see how these classes are defined in the output of 'postconf -n' postconf -n does not parse master.cf. so a setting may be overriden in master.cf even if you don't see it in 'postconf -n' output.