brw@hertz.njit.edu (Brian White) (12/22/90)
I recently asked the following question. Although I didn't get an enormous number of responses, I *did* get my answer. Since we (NJIT) are going off the net for a brief period of time, I thought I'd get a summary out. First, my question: >I compiled and installed sendmail 5.65 on a VAX 8530 running Ultrix 3.1 (with >both gcc and cc and using ndbm). It receives and delivers mail OK (well, a >*few* minor config problems exist... :^), but doesn't log *any* messages to >/usr/spool/mqueue/syslog. I know differences exist between Ultrix (4.2-based) >and BSD 4.3 syslog, but the sendmail logging code seems to support both. I >defined LOG in conf.h. > >Any hints/ideas? > Paul Pomes (Paul-Pomes@uiuc.edu) suggested checking whether mail logging is enabled; running main.c through the preprocessor to check if openlog has the correct number of arguments; see if sendmail.cf has a logging level of 9 or greater; running without the sendmail.fc. Well, none of these rang the bell.... Neil Rickart (rickart@cs.niu.edu) got it. He suggested (based on painful experience, of course) adding localhost.your.domain to the site nameserver database. It seems the resolver library (linked into sendmail) uses gethostbyname() to identify the local host and open a connection. Voila! Thanks to both Neil and Paul for their time and assistance. Brian White System Programmer New Jersey Institute of Technology brw@hertz.njit.edu brw@njit.edu brw@jazz.njit.edu