-o syslog_name=XYZ only shows first deferrals with that syslog_name? Retries appear to defer without the custom syslog_name.
- We override the syslog_name in the master.cf so that we can run pflogsumm on the resulting log files (split out by rsyslog) and we began noticing discrepancies.Typical line in master.cfsmtp104_120_110_27 unix - - n - 150 smtp -o smtp_bind_address=184.108.40.206 -o syslog_name=postfix-app1 -o smtp_helo_name=mail-27.redacted.comWe noticed that there were errors in the main mail.log file that referenced that lines IP address but with a name of 'postfix/error' instead of 'postfix-app1/error', and pflogsumm wasn't reporting those deferrals.If I grep the mail.log by that lines IP address and redirect it to a file, then cat the specific log files for postfix-app1 into it, while sed'ing s/postfix-app1/postfix/g then running pflogsumm I get all of the deferrals.Is the only way I can get this done by either running separate postfix instances for every IP I want to send mail as or doing this post logfile grep concat and translate?
- Donovan Bray:
> smtp104_120_110_27 unix - - n - 150 smtp -oThis overrides the logging from the Postfix smtp(8) client.
> smtp_bind_address=220.127.116.11 -o syslog_name=postfix-app1 -o
> We noticed that there were errors in the main mail.log file that referencedYou did not override the logging from the Postfix error(8) daemon.
> that lines IP address but with a name of 'postfix/error' instead of
> 'postfix-app1/error', and pflogsumm wasn't reporting those deferrals.