I seem to be missing a couple of messages in this thread but I upgraded my laptop (I use it as a test system as well) to Sierra over the weekend and am getting normal logging without doing anything special. My Postfix is in /usr/local (I moved completely away from the Apple directories for the server stuff I do).

Postfix (I'm still on 3.1.1) ran as previously built (no need to re-make under Sierra although I have tested that it builds OK) (in fact all the server software I now run runs as previously built).

So maybe the question is what did you (Viktor) do that is causing the different logging format? Did you upgrade from El Capitan or is it a fresh install? It looks like yours are going through Apple's new (and IMHO not as good) log facility rather than syslog (that's the same format I see for TimeMachine log messages extracted from the new log facility; e.g. 2017-01-01 06:18:18.094145-0600 localhost backupd[13915]: (TimeMachine) [com.apple.TimeMachine.TMLogInfo] Backup completed successfully.

-- Larry Stone
   lston...@stonejongleux.com

On Tue, 3 Jan 2017, Viktor Dukhovni wrote:


On Jan 3, 2017, at 10:33 AM, Robert Chalmers <racu...@icloud.com> wrote:

Do you mean like this ? where ?postfix? shows up.?

Jan  3 09:58:20 zeus postfix/smtpd[31070]: connect from unknown[115.71.5.5]

Yes.  What did you do to get real syslog messages with MacOS/X Sierra?

I get output similar to:

  2017-01-03 10:11:13.946120-0500  localhost smtpd[7301]: 
(libpostfix-util.dylib) disconnect from localhost[127.0.0.1] ehlo=1 
starttls=0/1 commands=1/2

In which the "postfix/" syslog_name is nowhere in sight.  Makes multi-instance
logging rather opaque, and breaks the usual way to distinguish submission 
logging
from port 25 logging, ...

--
        Viktor.


Reply via email to