Re: [oi-dev] Sendmail logging to wrong facility

2018-09-20 Thread Gary Mills
On Tue, Sep 18, 2018 at 03:57:13PM -0500, Gary Mills wrote: > > Yes, I thought of dtrace too, but that's as far as I got. I'm not > at all familiar with dtrace. I found out that dtrace is one of my friends. > I need something that would enable the MTA service and then display > the openlog()

Re: [oi-dev] Sendmail logging to wrong facility

2018-09-18 Thread Gary Mills
On Tue, Sep 18, 2018 at 10:26:12PM +0300, Toomas Soome wrote: > > > On 18 Sep 2018, at 22:24, Gary Mills wrote: > > > > On Tue, Sep 18, 2018 at 09:57:40PM +0300, Toomas Soome via oi-dev wrote: > >> > >> var/log/daemon.6:Aug 1 12:48:19 beastie sendmail[1189]: [ID 702911 > >>

Re: [oi-dev] Sendmail logging to wrong facility

2018-09-18 Thread Toomas Soome via oi-dev
> On 18 Sep 2018, at 22:24, Gary Mills wrote: > > On Tue, Sep 18, 2018 at 09:57:40PM +0300, Toomas Soome via oi-dev wrote: >> >> var/log/daemon.6:Aug 1 12:48:19 beastie sendmail[1189]: [ID 702911 >> [7]daemon.info] starting daemon (8.14.4+Sun): SMTP+queueing@00:15:00 > >> apparently

Re: [oi-dev] Sendmail logging to wrong facility

2018-09-18 Thread Gary Mills
On Tue, Sep 18, 2018 at 09:57:40PM +0300, Toomas Soome via oi-dev wrote: > >var/log/daemon.6:Aug 1 12:48:19 beastie sendmail[1189]: [ID 702911 >[7]daemon.info] starting daemon (8.14.4+Sun): SMTP+queueing@00:15:00 >apparently the daemon part is logging using daemon facility. Yes,

Re: [oi-dev] Sendmail logging to wrong facility

2018-09-18 Thread Toomas Soome via oi-dev
> On 18 Sep 2018, at 20:37, Gary Mills wrote: > > On Tue, Sep 18, 2018 at 06:03:48PM +0100, Jonathan Adams wrote: >> add this to your syslog.conf: >> mail.info;daemon.info� � � � � � ifdef(`LOGHOST', >> /var/log/syslog, @loghost) > > So, you had the same problem. Good. It exists.

Re: [oi-dev] Sendmail logging to wrong facility

2018-09-18 Thread Gary Mills
On Tue, Sep 18, 2018 at 06:03:48PM +0100, Jonathan Adams wrote: >add this to your syslog.conf: >mail.info;daemon.info� � � � � � ifdef(`LOGHOST', >/var/log/syslog, @loghost) So, you had the same problem. Good. It exists. Thanks for that information. >I found it out by

Re: [oi-dev] Sendmail logging to wrong facility

2018-09-18 Thread Jonathan Adams
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 wrote: > On Tue, Sep 18, 2018 at

Re: [oi-dev] Sendmail logging to wrong facility

2018-09-18 Thread Gary Mills
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

Re: [oi-dev] Sendmail logging to wrong facility

2018-09-18 Thread Udo Grabowski (IMK)
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,

[oi-dev] Sendmail logging to wrong facility

2018-09-18 Thread Gary Mills
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