Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!spool.mu.edu!samsung!think.com!farber!ellozy From: ellozy@farber.harvard.edu (Mohamed Ellozy) Newsgroups: comp.mail.sendmail Subject: Problem with sendmail 5.65 with unqualified names Message-ID: <1991Jun24.231248.305@Think.COM> Date: 24 Jun 91 23:12:48 GMT Sender: news@Think.COM Organization: Dana-Farber Cancer Institute Lines: 36 Originator: ellozy@farber I am trying to upgrade to sendmail 5.65 with the Berkeley config files (I have been using a homebrew config file that has fallen behind the times). The host I am testing on is in the dfci.harvard.edu subdomain, and must be able to send mail to user@host when host is in the upper level harvard.edu domain. Must means that users require it. Though I am running Ultrix 4.1, I have compiled sendmail with the 4.8.3 resolver library. In my /etc/resolv.conf I have search set to: search dfci.harvard.edu harvard.edu other.do.main So for mail to user@host the resolver should first try host.dfci.harvard.edu and, if that fails, host.harvard.edu, then host.other.do.main. This seems to work well with one exception. When I send mail to a host in the harvard.edu domain, using the unqualified name, mail gets delivered fine, and all seems to indicate that it was correctly processed. Specifically, sendmail -bt shows user@host being resolved to user@host.harvard.edu. The sendmail dialogue (mail -v) shows a correct address. The message, however, has a header of: To: user@host.dfci.harvard.edu. The same occurrs with the cc: line. That suggests that in some place the domain name is being appended to the unqualified host name, rather than calling the resolver to canonicalize. I cannot find any place where $D is appended whithout a previous attempt (usually two lines higher) to use the resolver. It happens every time, so cannot be a temporary slow name server response. Any help will be much appreciated. Mohamed