[OpenIndiana-discuss] Sendmail logging
Jonathan Adams
t12nslookup at gmail.com
Wed Jul 22 14:00:03 UTC 2015
I realised that it was calling syslog when I trussed the syslogd on the
parent computer and saw movement when the test email was sent.
after that I added "*.alert;*.crit;*.err;*.warning;*.notice;*.info;*.debug
/var/log/testing" to syslog (log everything except "emerg" which is shoited
out to every display everywhere) and then watched the file when I sent the
test message again ...
anyway, I've got a working system, and I can grep syslog for email
addresses, so that's a win!
Thanks everyone.
Jon
On 22 July 2015 at 14:53, Jonathan Adams <t12nslookup at gmail.com> wrote:
> it's the system compiled version :(
>
> root at mailgate2:~# /usr/lib/sendmail -d0.4 -bv root
> Version 8.14.4+Sun
> Compiled with: DNSMAP LDAPMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8
> MIME8TO7 NAMED_BIND NDBM NETINET NETINET6 NETUNIX NEWDB NIS
> PIPELINING SASLv2 SCANF STARTTLS TCPWRAPPERS USERDB
> USE_LDAP_INIT XDEBUG
> Canonical name: mailgate2.salltd.co.uk
> UUCP nodename: mailgate2
> a.k.a.: mailgate2.domain.com
> a.k.a.: [213.210.9.6]
> a.k.a.: [127.0.0.1]
> a.k.a.: loghost
> a.k.a.: [x.x.x.x]
> a.k.a.: mansalmail01
> a.k.a.: mansalmail01.domain.com
> a.k.a.: extmail
> a.k.a.: [IPv6:::1]
>
> ============ SYSTEM IDENTITY (after readcf) ============
> (short domain name) $w = mailgate2
> (canonical domain name) $j = mailgate2.domain.com
> (subdomain name) $m = domain.com
> (node name) $k = mailgate2
> ========================================================
>
> \root... deliverable: mailer local, user \root
>
> root at mailgate2:~# uname -a
> SunOS mailgate2 5.11 oi_151a8 i86pc i386 i86pc
> root at mailgate2:~# more /etc/release
> OpenIndiana Development oi_151.1.8 X86 (powered by illumos)
> Copyright 2011 Oracle and/or its affiliates. All rights reserved.
> Use is subject to license terms.
> Assembled 20 July 2013
>
>
> On 22 July 2015 at 14:46, Gary Mills <gary_mills at fastmail.fm> wrote:
>
>> On Wed, Jul 22, 2015 at 01:25:55PM +0100, Jonathan Adams wrote:
>> > cr*p ... I edited syslog to log _everything_
>>
>> That's part of what syslog debugging does.
>>
>> > sendmail is logging to "daemon.info", not "mail.info" ... at least I
>> can
>> > get it fixed.
>>
>> That's what I suspected. It shouldn't be doing that.
>>
>> > I'm not sure if anyone else even uses sendmail nowadays, but that
>> adding "
>> > daemon.info" to the mail.info/debug line should get it working for you.
>>
>> Lots of people use sendmail. I'm running it under Solaris 11.2, but
>> using my own build of 8.14.4 because I needed SASLv2.
>>
>> It sounds as if you are running a bad build of sendmail. You can
>> check its version this way:
>>
>> $ /usr/lib/sendmail -d0.4 -bv root
>>
>> --
>> -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