Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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

Posted on Oct 1, 2016 6:26 AM

Reply
Question marked as Best reply

Posted on Oct 16, 2016 1:22 AM

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

4 replies
Question marked as Best reply

Oct 16, 2016 1:22 AM in response to Aigor79

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

Oct 16, 2016 1:28 AM in response to Arne Rolf Heier

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

MaOS Sierra postfix doesn't write log

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.