@Viktor
Sorry - I have no idea now how I did that. Something I’ve done over the years 
has turned it on, and so it’s stayed on?

/etc/syslog.conf is now configured here

zeus:postfix robert$ cat /etc/syslog.conf
# Note that flat file logs are now configured in /etc/asl.conf

Beware of that file. It refers to files that are not normal text files.

But I’ve made no changes to that? not that I know of.


There’s something in the back of my mind regarding this, but I’ll have to mull 
it over for a while and see if I can remember what it is.

Any logging in postfix is here in my case

main.cf
# DEBUGGING CONTROL
#
# The debug_peer_level parameter specifies the increment in verbose
# logging level when an SMTP client or server host name or address
# matches a pattern in the debug_peer_list parameter.
#
debug_peer_level = 2
...
#Debug ...
smtpd_tls_loglevel = 2

and in 

master.cf
dnsblog   unix  -       -       n       -       0       dnsblog
tlsproxy  unix  -       -       n       -       0       tlsproxy
submission inet n       -       n       -       -       smtpd
  -o smtpd_tls_security_level=encrypt
  -o syslog_name=postfix/submission
  -o smtpd_milters=$non_smtpd_milters

Sorry, I know that’s not much help, but it’s one of those things I’ve set and 
forgotten..




> On 3 Jan 2017, at 16:01, Viktor Dukhovni <postfix-us...@dukhovni.org> 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