[pfx] Re: Escaping of braces {} in configuration (master(5))
With this in master.cf: dkim-sign unix - n n - 0 spawn user=_postfix_xlocal argv=/tmp/s-dkim-sign --milter-macro-sign {daemon_name},sign --key rsa-sha256,rsa,/tmp/pri-rsa.pem These are options to a non-Postfix peogram, so I need to investigate why the sytnax parser is treating it as Postfix syntax. Wietse ___ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org
[pfx] Re: Escaping of braces {} in configuration (master(5))
Wietse Venema via Postfix-users wrote in <4tpcly5z0dzj...@spike.porcupine.org>: |Steffen Nurpmeso via Postfix-users: |> Steffen Nurpmeso wrote in |> <20240305004501.fwAHTulV@steffen%sdaoden.eu>: |>|Wietse Venema via Postfix-users wrote in |>| <4tpc280nhvzj...@spike.porcupine.org>: |>||Steffen Nurpmeso via Postfix-users: |>||> Is it possible to escape braces in resource files? |> ... |>||What happens when you specify |>|| |>|| --milter-macro-sign {daemon_name},sigm |>| |>|That was where i was coming from: |>| |>| Daemon postfix restart |>| /usr/sbin/postconf: warning: master.cf: syntax error after '}' in \ |>| "{daemon_name$},sign" |> ... |> |> And in the log (sorry for the time, s |> |> Mar 5 01:44:05 (none) postfix/postfix-script[4006]: starting the \ |> Postfix mail system |> Mar 5 01:44:05 (none) postfix/master[4008]: fatal: /etc/postfix-lmdb/m\ |> aster.cf: line 114: syntax error after '}' in "{daemon_name$},sign" |> Mar 5 01:44:06 (none) postfix/master[4007]: fatal: daemon initializati\ |> on failure -- see logs for details |> Mar 5 01:44:07 (none) postfix/postfix-script[4021]: fatal: mail \ |> system startup failed | |I think that for now you'll have to put those commands in a script. Ok by me. Good night from Germany! --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
[pfx] Re: Escaping of braces {} in configuration (master(5))
Steffen Nurpmeso via Postfix-users: > Steffen Nurpmeso wrote in > <20240305004501.fwAHTulV@steffen%sdaoden.eu>: > |Wietse Venema via Postfix-users wrote in > | <4tpc280nhvzj...@spike.porcupine.org>: > ||Steffen Nurpmeso via Postfix-users: > ||> Is it possible to escape braces in resource files? > ... > ||What happens when you specify > || > || --milter-macro-sign {daemon_name},sigm > | > |That was where i was coming from: > | > | Daemon postfix restart > | /usr/sbin/postconf: warning: master.cf: syntax error after '}' in \ > | "{daemon_name$},sign" > ... > > And in the log (sorry for the time, s > > Mar 5 01:44:05 (none) postfix/postfix-script[4006]: starting the Postfix > mail system > Mar 5 01:44:05 (none) postfix/master[4008]: fatal: > /etc/postfix-lmdb/master.cf: line 114: syntax error after '}' in > "{daemon_name$},sign" > Mar 5 01:44:06 (none) postfix/master[4007]: fatal: daemon initialization > failure -- see logs for details > Mar 5 01:44:07 (none) postfix/postfix-script[4021]: fatal: mail system > startup failed I think that for now you'll have to put those commands in a script. Wietse ___ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org
[pfx] Re: Escaping of braces {} in configuration (master(5))
Steffen Nurpmeso wrote in <20240305004501.fwAHTulV@steffen%sdaoden.eu>: |Wietse Venema via Postfix-users wrote in | <4tpc280nhvzj...@spike.porcupine.org>: ||Steffen Nurpmeso via Postfix-users: ||> Is it possible to escape braces in resource files? ... ||What happens when you specify || || --milter-macro-sign {daemon_name},sigm | |That was where i was coming from: | | Daemon postfix restart | /usr/sbin/postconf: warning: master.cf: syntax error after '}' in \ | "{daemon_name$},sign" ... And in the log (sorry for the time, s Mar 5 01:44:05 (none) postfix/postfix-script[4006]: starting the Postfix mail system Mar 5 01:44:05 (none) postfix/master[4008]: fatal: /etc/postfix-lmdb/master.cf: line 114: syntax error after '}' in "{daemon_name$},sign" Mar 5 01:44:06 (none) postfix/master[4007]: fatal: daemon initialization failure -- see logs for details Mar 5 01:44:07 (none) postfix/postfix-script[4021]: fatal: mail system startup failed --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
[pfx] Re: Escaping of braces {} in configuration (master(5))
Wietse Venema via Postfix-users wrote in <4tpc280nhvzj...@spike.porcupine.org>: |Steffen Nurpmeso via Postfix-users: |> 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 | |What happens when you specify | | --milter-macro-sign {daemon_name},sigm That was where i was coming from: Daemon postfix restart /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" postfix/postfix-script: stopping the Postfix mail system stop $?: 0 /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" /usr/sbin/postconf: warning: master.cf: syntax error after '}' in "{daemon_name$},sign" postfix/postfix-script: starting the Postfix mail system postfix/postfix-script: fatal: mail system startup failed --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
[pfx] Re: Escaping of braces {} in configuration (master(5))
Steffen Nurpmeso via Postfix-users: > 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 What happens when you specify --milter-macro-sign {daemon_name},sigm Wietse ___ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org
[pfx] Re: Escaping of braces {} in configuration (master(5))
Steffen Nurpmeso via Postfix-users: > 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 = } No, Don't do that. Wietse ___ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org