Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Apr 1997 09:14:53 -0500
From:      "Jeffrey J. Mountin" <sysop@mixcom.com>
To:        joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
Cc:        hackers@freebsd.com, dean@myp.com
Subject:   Re: Syslog bug?
Message-ID:  <3.0.32.19970427091453.00aed4d4@mixcom.com>

next in thread | raw e-mail | index | archive | help
At 02:07 PM 4/26/97 +0200, J Wunsch wrote:
>No idea on this.  I had to dig into the source, but that's something
>you could do as well. :)

Just odd that smap logs in GMT and smapd doesn't and the both fire up at
the same time in rc.local

Hmmm... I wonder if smap and smapd from the ports will exhibit the same
behaviour.


>Because you forget to add a DNS reverse lookup entry for them.

Didn't forget.  Aliased IPs don't get inverse for web hosts.

It appears to be in /usr/src/usr.sbin/sendmail/src/conf.c where the
troublesome additions are:

#ifdef LOG
	if (LogLevel > 3)
		syslog(LOG_WARNING,
			"gethostbyaddr() failed for %.100s/n",
			inet_ntoa(ia));
#endif


Now I don't C much, but I see no reason why they decided to log to both
warning *and* whatever else, usually info, is set for the mail facility.
Not to mention this is default behaviour. <shrug>


-------------------------------------------
Jeff Mountin - System/Network Administrator
jeff@mixcom.net

MIX Communications
Serving the Internet since 1990



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.32.19970427091453.00aed4d4>