On 9 Jan 2019, at 22:01, Larry Stone wrote:

Has anyone managed to do this? I’d rather not have to compile on old Mac and transfer.


Not as far as any of us know. It’s been discussed here before and no solution has been found.


As I suggested back when this thread was young, this command will put all of Postfix's log messages into /var/log/mail.log:

log stream --info --predicate 'senderImagePath CONTAINS "postfix"' --style syslog >> /var/log/mail.log

It's trivial to create a launchd .plist file to run that at boot time and let you start/stop it with launchctl.

That may be a bit heavy for a busy server because it pipes all of the log messages through a userspace process, but it will do what you want.

It remains true that macOS has been unfit for most server work since Sierra as a direct result of conscious choices by Apple to make it so. Even if the ugly hack above works for you, it's just a battle tactic in a war that cannot be won. Apple has clearly demonstrated that they want macOS to be not be used for server duty.

--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Available For Hire: https://linkedin.com/in/billcole

Reply via email to