Wietse Venema via Postfix-users:
> The text should have said:
> 
>   Other command-line arguments
>       Specify "{" and "}" around command arguments that must start
>       with "{" or that must contain whitespace (Postfix 3.0 and
>       later). These outer "{" and "}" are removed from the input,
>       together with any leading or trailing whitespace.
> 
> Basically, Postfix strips one level of {} around any command-line
> argument that starts with "{".
> 
> In that light, if you want "{daemon_name},sign", you need to specify
> {{daemon_name},sign} like this:
> 
> 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

Or, as you're using "long" options:

 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

should also be valid. 

In this form, no argument starts with "{", and you can avoid the
extra "{" and "}"

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to