[oi-dev] Sendmail logging to wrong facility

Jonathan Adams t12nslookup at gmail.com
Tue Sep 18 17:03:48 UTC 2018


add this to your syslog.conf:

mail.info;daemon.info           ifdef(`LOGHOST', /var/log/syslog, @loghost)

I found it out by adding every possible log format to the file until I
could work out what had changed.

Jon

On Tue, 18 Sep 2018 at 17:25, Gary Mills <gary_mills at fastmail.fm> wrote:

> On Tue, Sep 18, 2018 at 05:57:07PM +0200, Udo Grabowski (IMK) wrote:
> > On 18/09/2018 17:15, Gary Mills wrote:
> > > I'm using the sendmail supplied with OI-hipster with my own
> > > configuration files.  It works correctly except that the MTA daemon
> > > logs to the wrong facility.  Specifically, the client sendmail logs to
> > > the mail facility, which syslog sends to /var/log/syslog, but the
> > > sendmail MTA logs to the daemon facility, which syslog sends to
> > > /var/adm/messages .  Has anyone else noticed this anomaly?  The entire
> > > sendmail logging should be in /var/log/syslog .
>
> > Have a look into /etc/syslog.conf, there are rules affecting the
> > mail client and server logging:
>
> That's the first place I looked.  It's not the cause of this problem.
> Something is changing the syslog facility.
>
>
> --
> -Gary Mills-            -refurb-                -Winnipeg, Manitoba,
> Canada-
>
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20180918/3ddeb50f/attachment-0005.html>


More information about the oi-dev mailing list