General discussion

Locked

Sendmail Configuration on SunOS 5.7

By ronjwoods ·
We've just installed SunOS 5.7 on a sun4d sparc database server and we're having problems with sendmail not being able to send mail to anything other than users on the local host. The DNS seems to be setup ok since nslookup works. The returned mail contains this wording 'Host unknown (Name server: mailhost.: host not found)'. Does anyone have any ideas where to look?

This conversation is currently closed to new comments.

13 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Sendmail Configuration on SunOS 5.7

by coily2 In reply to Sendmail Configuration on ...

Sounds to me as if you haven't configured sendmail. This particular error you are seeing is explained at:

http://www.sendmail.org/faq/section4.html#4.5

Take a look at the entire faq, as you'll most likely have several more questions after reading this explanation. In a nutshell, make sure that your fully qualified domain name is in resolv.conf and that the full domain name is in sendmail.cf. Also, if you haven't already,

man sendmail

I also recommend the following USENET newsgroups:

comp.unix.solaris
comp.mail.sendmail

Sendmail is tricky. It's a pain to figure out. I recommend you to remove the precompiled Sun binary and compile the latest version from sendmail.org.


Good luck

Collapse -

Sendmail Configuration on SunOS 5.7

by ronjwoods In reply to Sendmail Configuration on ...

The question was auto-closed by TechRepublic

Collapse -

Sendmail Configuration on SunOS 5.7

by Bulch In reply to Sendmail Configuration on ...

In file /etc/mail.senmail.cf You must find
DSmailhost.$m
string and replace 'mailhost.$m' with
domain name of your mailserver.

Collapse -

Sendmail Configuration on SunOS 5.7

by ronjwoods In reply to Sendmail Configuration on ...

The question was auto-closed by TechRepublic

Collapse -

Sendmail Configuration on SunOS 5.7

by ustutz In reply to Sendmail Configuration on ...

Verify that your service switch is set correctly (/etc/nsswitch.conf and /etc/mail/service.switch?). The latter is the location of the file on HP-UX. Don't know if this applies to Solaries as well, but earlier versions of HP-UX used /etc/mail/service.switch solely for sendmail.

Collapse -

Sendmail Configuration on SunOS 5.7

by ronjwoods In reply to Sendmail Configuration on ...

The question was auto-closed by TechRepublic

Collapse -

Sendmail Configuration on SunOS 5.7

by jdogg In reply to Sendmail Configuration on ...

Send a test mail in debugging mode using the following value which shows the steps taken by sendmail to resolve the address of the recipient host:

/usr/lib/sendmail -d8.8chap@other.domain.com</etc/hosts

The information logged should tell you which lookup service is failing and where

Collapse -

Sendmail Configuration on SunOS 5.7

by ronjwoods In reply to Sendmail Configuration on ...

The question was auto-closed by TechRepublic

Collapse -

Sendmail Configuration on SunOS 5.7

by brs3500 In reply to Sendmail Configuration on ...

make sure that you configured this box for name services. /etc/resolv.conf and check the order in nsswitch.conf. if you want to relay messages to another mail server in same domain that specified in resolv.conf then user DS macro or DR macro dependsupon your configuration.. check name services with nslookup...

Collapse -

Sendmail Configuration on SunOS 5.7

by ronjwoods In reply to Sendmail Configuration on ...

The question was auto-closed by TechRepublic

Back to Linux Forum
13 total posts (Page 1 of 2)   01 | 02   Next

Operating Systems Forums