On 06.01.23 13:15, Wietse Venema wrote:
is there a way to dump the effective postfix configuration rather than
the one specified in main.cf/master.cf? It seems that changes to
main.cf/master.cf have an immediate impact on the output of postconf
regardless of whether a reload/restart of the service was performed.

How would that work? Different Postfix processes start at different
times, and some processes (qmgr, master) run forever.

I could think of something like this:

Instead of sending a HUP signal like it is done to trigger a reload, one sends a different signal (e. g. USR1) to the master. The further processing of the signal is similar to the HUP case except that configuration dumps are triggered rather than configuration reloads.

What I have in mind would be a similar user experience to what one gets when running "ceph config show [...]" [0] in the Ceph case or "condor_config_val [daemon]" [1] in case of HTCondor.

Peter

[0] https://docs.ceph.com/en/latest/rados/configuration/ceph-conf/#commands

[1] https://htcondor.readthedocs.io/en/latest/man-pages/condor_config_val.html

Reply via email to