[OpenIndiana-discuss] Sendmail logging

Gary Mills gary_mills at fastmail.fm
Tue Jul 21 18:39:27 UTC 2015


On Tue, Jul 21, 2015 at 02:46:13PM +0100, Jonathan Adams wrote:
> 
> When I truss the sendmail daemon, there is nothing in the output that seems
> to mention "log" ...

That's normal.  You might be able to identify them by content,
although sendmail won't produce them if its log level is too low.

> root at mailgate2:~# grep -i mail /etc/syslog.conf
> *.err;kern.debug;daemon.notice;mail.crit        /var/adm/messages
> mail.info                       ifdef(`LOGHOST', /var/log/syslog, @loghost)
> #mail.debug                     ifdef(`LOGHOST', /var/log/syslog, @loghost)

All my entries in /var/log/syslog are `mail.info', so that's probably
okay.  You should still try syslog debugging, just in case sendmail's
log message are being sent with a different facility or level.

Sendmail's internal log level, not related to syslog's level, should
default to 9.  It's documented in cf/README this way:

    confLOG_LEVEL		LogLevel	[9] Log level.

I assume it's unchanged.

-- 
-Gary Mills-		-refurb-		-Winnipeg, Manitoba, Canada-



More information about the openindiana-discuss mailing list