MaOS Sierra postfix doesn't write log
Now for me it's impossible to read any log about smtp activity. /var/log/mail.log is missing but Postfix works well
Mac mini (Late 2014), iOS 10.0.2
You can make a difference in the Apple Support Community!
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.
Now for me it's impossible to read any log about smtp activity. /var/log/mail.log is missing but Postfix works well
Mac mini (Late 2014), iOS 10.0.2
Apple have a new log system in Sierra. It is not using the log files or asl.
The logs are in memory or a log db.
log -- Access system wide log messages created by os_log, os_trace and other logging systems.
You can read the smtpd log from terminal with this command.
log show --start "2016-10-16" --end "2016-10-17" --predicate 'process == "smtpd"' --debug
Apple have a new log system in Sierra. It is not using the log files or asl.
The logs are in memory or a log db.
log -- Access system wide log messages created by os_log, os_trace and other logging systems.
You can read the smtpd log from terminal with this command.
log show --start "2016-10-16" --end "2016-10-17" --predicate 'process == "smtpd"' --debug
Thanks for your reply.
Could you confirm that we can't have a real time log now?
Now I have a report like this:
Skipping info messages, pass --info to include.
Filtering the log data using "process == "smtpd""
Timestamp Thread Type Activity PID
--------------------------------------------------------------------------------------------------------------------
Log - Default: 0, Info: 0, Debug: 0, Error: 0, Fault: 0
Activity - Create: 0, Transition: 0, Actions: 0
Thanks
This streams in real time, and works ok:
log stream --predicate '(process == "smtpd") || (process == "smtp")' --info
Thank you so much
MaOS Sierra postfix doesn't write log