On 24.01.25 11:13, Narcis Garcia via Postfix-users wrote:
When I ask a configuration value with command:
$ postconf -h ParameterName
I get raw value from text file /etc/postfix/main.cf

Is there some way to get effective value with variables already replaced?

Example of behaviour I find:
$ postconf -h tls_server_sni_maps
${indexed}sni
$ postconf -h indexed
${default_database_type}:${config_directory}/
$ postconf -h default_database_type
hash
$ postconf -h config_directory
/etc/postfix

And I'm looking for a command that outputs final effective value:
hash:/etc/postfix/sni

"man postconf" should tell you that:

       -x     Expand $name in main.cf or master.cf parameter values.  The  ex‐
              pansion is recursive.

              This feature is available with Postfix 2.10 and later.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
WinError #99999: Out of error messages.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to