Peter via Postfix-devel: > Currently the stock postfix master.cf file contains these commented > lines in the submission and submissions entries respectively: > > # -o syslog_name=postfix/submission > > # -o syslog_name=postfix/submissions > > But the default for syslog_name is this: > > syslog_name = ${multi_instance_name?{$multi_instance_name}:{postfix}} > > ...and the master.cf entry for the relay service has this: > > -o > syslog_name=${multi_instance_name?{$multi_instance_name}:{postfix}}/$service_name > > > I would propose that the two commented lines be changed to reflect the > multi-instance name for consistency with the rest of the services. > > In addition it might be worthwhile to consider removing the syslog_name > lines from master.cf alltogether and adding a new main.cf entry of: > > syslog_name = > ${multi_instance_name?{$multi_instance_name}:{postfix}}/$service_name > > The main downside here is you'll end up with names such as > postfix/smtpd/smtpd but it will at least be consistent. Also we could > instead change the default itself but then we're pushing that new > default onto existing installations and I don't personally think we > should do that in this case.
Would this stutter whenever $service_name equals $process_name? For example local/local, qmgr/qmgr, smtp/smtp, lmtp/lmtp, cleanup/cleanup, virtual/virtual, spawn/spawn? It would be consistent, but not pretty. We could try to eliminate stutter by making the global default a little more complex: syslog_name=${ multi_instance_name?{$multi_instance_name}:{postfix} }${ {$service_name}!={$process_name}?{/$service_name}:{} } Unfortunately, syslog_name has the wrong name, It is a name prefix. Wietse _______________________________________________ Postfix-devel mailing list -- postfix-devel@postfix.org To unsubscribe send an email to postfix-devel-le...@postfix.org