The problem isn't so much that the trace message were missing.
I assumed that they only occurred when smtpd -d was used.
As a result I didn't immediately update the smtpd_flags using rcctl.
It is nice to know why the trace entries were no showing up.

But what bothered me was the thousands of lines in /var/log/messages
saying

sendsyslog: dropped 2 messages, error 55

when I first noticed I had forgot that I had modified smtd_flags
and had no idea why my log files were filling up.
I had no success trying to find what error 55 was.

There was no hint as to what the source of the problem was.
I did not know of any approach to find the cause, other than
guessing that it was smtpd.


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Todd
C. Miller
Sent: Friday, June 10, 2016 2:47 PM
To: Peter Fraser <[email protected]>
Cc: [email protected]; '[email protected]' <[email protected]>
Subject: Re: smtpd and syslog

The trace messages are logged at the debug level.  You'll need to edit
/etc/syslog.conf and change:

mail.info                                       /var/log/maillog

to:

mail.debug                                      /var/log/maillog

Then you should see the trace information.

 - todd

Reply via email to