SUMMARY: Solaris 7 and Sendmail 8.9.1

From: Jeff Kennedy (jeff.kennedy@natdecsys.com)
Date: Mon Mar 22 1999 - 16:50:40 CST


Well, I got a reply from a newsgroup I posted this one too as well and
here's the scoop:

In /etc/mail the sendmail.cf file is the same as the subsidiary.cf, but
neither of these is the cf file needed. I needed the main.cf file.
Once I copied that to sendmail.cf it perked right up and is now mailing
away like a tiny little postalworker on speed.

Special Thanks to: John Beck

Thanks to:
Everyone who has replied but hasn't gotten here yet.

Jeff Kennedy

Jeff Kennedy wrote:
>
> Hello All,
>
> I have installed 7 on a Sparc5 with stock sendmail (8.9.1) and am having
> problems. I cannot mail to anyone at either 'user@domain.com' or
> 'user@host.domain.com'. In both cases I get returned local mail stating
> that the mailhost could not be found. But, the mailhost can be found by
> everything BUT sendmail. I can ping the host by both 'host' and by
> 'mailhost' and get the hostname back in both cases. DNS resolves
> everything including the mailhost.
>
> I've run 'sendmail -d8.8 user@host.domain.com' on 2 machines (one works,
> 2.6 and the other doesn't, 7). The one that works returns this:
>
> machine# /usr/lib/sendmail -d8.8 user@host.domain.com
> Version SMI-8.6
> _res.options = 2
> getcanonname(host.domain.com.)
> getcanonname: trying host.domain.com. (ANY)
> YES
> getcanonname(host.domain.com.)
> getcanonname: trying host.domain.com. (ANY)
> YES
> getcanonname(host.domain.com.)
> getcanonname: trying host.domain.com. (ANY)
> YES
>
> The one that doesn't work returns this:
>
> machine2% /usr/lib/sendmail -d8.8 user@host.domain.com
> dns_getcanonname(host.domain.com, trymx=1)
> dns_getcanonname: trying host.domain.com. (ANY)
> ;; res_querydomain(host.domain.com, , 1, 255)
> ;; res_query(host.domain.com., 1, 255)
> ;; res_mkquery(0, host.domain.com., 1, 255)
> ;; res_send()
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13781
> ;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
> ;; host.domain.com, type = ANY, class = IN
> ;; Querying server (# 1) address = 207.67.153.2
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13781
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 3, ADDITIONAL: 4
> ;; host.domain.com, type = ANY, class = IN
> host.domain.com. 1D IN TXT "Host"
> host.domain.com. 1D IN A ip.address
> domain.com. 1D IN NS ns.domain.com.
> domain.com. 1D IN NS ns1.domain.com.
> domain.com. 1D IN NS ns1.provider.net.
> ns.domain.com. 1D IN A ip.address
> ns1.domain.com. 1D IN A ip.address
> ns1.domain.com. 1D IN A ip.address
> ns1.provider.net. 13h42m49s IN A ip.address
> YES
> dns_getcanonname: host.domain.com
>
> It looks to me as though the broken machine is using dns and it finds
> the mailhost but I can't figure out what the rest is telling me. I am
> nowhere near a sendmail expert so I would appreciate any pointers, tips,
> and/or instructions. I have been to sendmail.org, most of the links
> from there, man sendmail, etc..... but can't find anything about this
> particular problem.
>
> Thanks,
>
> Jeff Kennedy



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:16 CDT