On Thu, Jan 09, 2025 at 04:13:44PM -0500, Greg Klanderman via Postfix-users wrote:
> >>>>> On January 7, 2025 Viktor Dukhovni via Postfix-users > >>>>> <postfix-users@postfix.org> wrote: > > >> I found smtpd_service_name, and guessing I could use that to > >> replace the part after '/'? Would changing that have any > >> functional impact, or only the logs? > > > Yes, it would break tools like "collate" that you might later want > > to use. Resist the temptation to "solve" this "problem". > > Hi Viktor, > > Are you saying it's not reasonable to want to be able to determine > which of my smtpd's is accepting a connection from the logs? The distinction is in the Postfix syslog_name prefixed to "smtpd". postfix/submission/smtpd vs. postfix/smtpd > In a related question, how do people running multi- instance > configurations know which instance a log line pertains to? Or would > you typically have different log files for each instance? In multi-instance configurations each instance uses a prefix of "postfix-$instance". The submission services then refine that prefix as "postfix-$instance/submission". Don't change the service name, change the prefix using instance names in the "postfix" part and service variants in the optional "/suffix". The prefix and optional suffix then get prepended to the service name. -- Viktor. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org