Article View: comp.mail.sendmail
Article #2586Sendmail 5.65 and unqualified host name
From: Mohamed Ellozy
Date: Mon, 24 Jun 1991 21:02
Date: Mon, 24 Jun 1991 21:02
34 lines
1923 bytes
1923 bytes
I am trying to run sendmail 5.65 with the Berkeley config files (I have used 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 first tries host.dfci.harvard.edu and, if that fails, tries 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. 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
Technical Details
Message-ID:
<7082@husc6.harvard.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!hsdndev!husc6!prion!ellozyShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!hsdndev!husc6!prion!ellozy From: ellozy@prion.dfci.harvard.edu (Mohamed Ellozy) Newsgroups: comp.mail.sendmail Subject: Sendmail 5.65 and unqualified host name Message-ID: <7082@husc6.harvard.edu> Date: 24 Jun 91 21:02:55 GMT Sender: lotto@husc6.harvard.edu Organization: Dana-Farber Cancer Institute Lines: 34 Originator: ellozy@prion