Viktor, did you ever figure out the logging issue? I just tried upgrading my test system to Postfix 3.1.4 (from 3.1.1) and the logging started to go to the new Apple logging system. Immediately fell back to 3.1.1 and the logging is back to /var/log/mail.log.
My initial make command (based on what you’ve previously suggested is): make -f Makefile.init makefiles CCARGS='-DUSE_TLS -I/usr/local/ssl/include \ -DUSE_SASL_AUTH \ -DUSE_CYRUS_SASL \ -I/usr/local/include/sasl \ -DDEF_SERVER_SASL_TYPE=\"dovecot\"\ -DDEF_COMMAND_DIR=\"/usr/local/sbin\"\ -DDEF_CONFIG_DIR=\"/usr/local/etc/postfix\"\ -DDEF_DAEMON_DIR=\"/usr/local/libexec/postfix\"\ -DHAS_PCRE -I/usr/local/include' \ AUXLIBS='-L/usr/local/lib -lpcre -L/usr/local/ssl/lib -lssl -lcrypto \ -L/usr/local/lib -lsasl2’ -- Larry Stone lston...@stonejongleux.com > On Jan 3, 2017, at 6:51 AM, Larry Stone <lston...@stonejongleux.com> wrote: > > 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. >> >>