Hello.

Is it possible to escape braces in resource files?
I am currently testing an hm early beta of my thing and did

  lb = {
  rb = }

in main.cf to be able to say

  dkim-sign unix - n n - - spawn
    user=_postfix_xlocal argv=/tmp/s-dkim-sign
    --milter-macro-sign ${lb}daemon_name${rb},sign
    --key rsa-sha256,rsa,/tmp/pri-rsa.pem
    --key ed25519-sha256,ed,/tmp/pri-ed25519.pem
    --verbose --verbose

in master.cf, but i get dozens of

  /usr/sbin/postconf: warning: /etc/postfix-lmdb/main.cf: unused parameter: lb={
  /usr/sbin/postconf: warning: /etc/postfix-lmdb/main.cf: unused parameter: rb=}

at startup.  If i say \{daemon_name\} it works, but the
backslashes are passed literally, too, ditto double quotation
marks.  I mean in the end i want a resource file, but i think
i ask after stumbling, and having found nothing in postconf(5) and
master(5).

Thanks and Ciao!

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to