ellozy@prion.dfci.harvard.edu (Mohamed Ellozy) (06/25/91)
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