[oi-dev] Sendmail logging to wrong facility

Toomas Soome tsoome at me.com
Tue Sep 18 18:57:40 UTC 2018


> On 18 Sep 2018, at 20:37, Gary Mills <gary_mills at fastmail.fm> 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.  Thanks for that
> information.
> 
>>   I found it out by adding every possible log format to the file until I
>>   could work out what had changed.
> 
> I don't like your workaround, however:
> 
> $ grep sendmail /var/adm/messages | wc -l
>      56
> $ grep daemon.info /var/adm/messages | wc -l
>   11624
> 
> I'm mainly trying to work out what had changed.
> 
> My original question was:
> 
>    How do I determine the caller?  I need to examine the startup of the
>    MTA, as that's where the openlog() calls occur.
> 
> 
> -- 
> -Gary Mills-		-refurb-		-Winnipeg, Manitoba, Canada-
> 
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev <https://openindiana.org/mailman/listinfo/oi-dev>
var/log/daemon.6:Aug  1 12:48:19 beastie sendmail[1189]: [ID 702911 daemon.info] starting daemon (8.14.4+Sun): SMTP+queueing at 00:15:00

apparently the daemon part is logging using daemon facility.

rgds,
toomas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20180918/b58fa98b/attachment-0005.html>


More information about the oi-dev mailing list