/dev/rob0: > On Mon, Aug 29, 2016 at 09:36:44AM -0400, Wietse Venema wrote: > > Robert Dahlem: > > > Because it does no harm to anything existing I propose that > > > attached patch gets into the distribution. > > > > It works with multi-instance names. What is the result for the > > stock master.cf file, which has entries as shown below? > > > > submission inet n - n - - smtpd > > -o syslog_name=postfix/submission > > ... > > smtps inet n - n - - smtpd > > -o syslog_name=postfix/smtps > > ... > > > > This logs process names as: postfix/submission/smtpd, > > postfix/smtps/smtpd. > > Just a thought, take it or leave it: perhaps those examples should > be changed to: > > > submission inet n - n - - smtpd > > -o syslog_name=$syslog_name/submission > > ... > > smtps inet n - n - - smtpd > > -o syslog_name=$syslog_name/smtps > > ... > > Ugly, but it would work with multiple instance names.
I think that would result in an "unreasonable macro call nesting" error, because $name expansion is recursive. Wietse