[OpenIndiana-discuss] Sendmail logging

Jonathan Adams t12nslookup at gmail.com
Tue Jul 21 20:35:05 UTC 2015


Yeah logging is set to 9, I set it to 10 just in case but it made no
difference.  I have mail.info instead of mail.debug because on Solaris 10
the LDAP output takes up too much space.

I was wondering if anyone else has the same issue, especially since this
happened on two different OI servers set up by 2 different people, although
according to the same internal wiki page.  We just didn't notice until I
was building the latest replacement that it hadn't been logging. I had
almost noticed before but thought it was just a one off type of thing.

Do other people use sendmail in zones in production, and do they have the
same issues?
On 21 Jul 2015 19:40, "Gary Mills" <gary_mills at fastmail.fm> wrote:

> 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-
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>


More information about the openindiana-discuss mailing list