Xref: utzoo comp.mail.sendmail:2557 comp.unix.ultrix:5696 Path: utzoo!attcan!telly!lethe!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!rutgers!njin!njitgw!brw@hertz.njit.edu From: brw@hertz.njit.edu (Brian White) Newsgroups: comp.mail.sendmail,comp.unix.ultrix Subject: Summary: sendmail logging problems w/Ultrix Message-ID: <2069@njitgw.njit.edu> Date: 21 Dec 90 20:24:09 GMT Sender: news@njitgw.njit.edu Organization: New Jersey Institute of Technology, Newark, N.J. Lines: 33 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