Hi All,
The version of FreeBSD is
So far I can see log from maillog like this:
How can I add email subject into this log?
The version of FreeBSD is
Code:
FreeBSD 12.0-RELEASE-p3 FreeBSD 12.0-RELEASE-p3 GENERIC amd64
So far I can see log from maillog like this:
Code:
Aug 29 17:08:49 foo sendmail[30651]: x7TF8mLL030651: to=bar, ctladdr=foo (80/80), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=170288, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (x7TF8nTs030652 Message accepted for delivery)
Aug 29 17:08:49 foo sm-mta[30654]: x7TF8nTs030652: to=bar, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=170532, relay=bar.com, dsn=2.0.0, stat=Sent (<bar> [InternalId=174410031956017, Hostname=bar.com] Queued mail for delivery)
How can I add email subject into this log?