sendmail on Solaris 2.5 uses NIS domain instead of hostname

sendmail on Solaris 2.5 uses NIS domain instead of hostname

Post by Eric D. Hendrickson (C » Sat, 15 Jun 1996 04:00:00



I am using the stock sendmail.cf and sendmail on our Solaris 2.5 systems.
I have noticed that they report the hostname as ``host.our-NIS-domain''
rather than ``host.med.umn.edu'' in the mail headers of outgoing mail.  I'm
not very well versed in sendmail arcana, and I'm not sure what to look for
in the sendmail book.  Can someone point me in the right direction, or tell
me if I did something wrong in the installation of the OS, or suggest a
tweak for the sendmail.cf files?  :)  or anything, for that matter  =)

Thanks!
                Eric
--
Knights are hardly worth it.
I mean, all that shell and so little meat...

Eric D. Hendrickson              Computational Biology Centers/Medical School
Senior Analyst/Programmer           University of Minnesota, Twin Cities, USA
612/625-3644 (phone)           <a href="http://umn.edu/~edh">Crystal Cave</a>
612/626-0623 (fax)        Damnit!  I can't stop the heterocyclic declination!

 
 
 

sendmail on Solaris 2.5 uses NIS domain instead of hostname

Post by Pu » Tue, 18 Jun 1996 04:00:00




Quote:>I am using the stock sendmail.cf and sendmail on our Solaris 2.5 systems.
>I have noticed that they report the hostname as ``host.our-NIS-domain''
>rather than ``host.med.umn.edu'' in the mail headers of outgoing mail.

Yeah. I hate this decision. Did you know that all Sun systems have an
NIS domain that is the same as their DNS domain? You didn't? Well I'm
shocked, that is what Sun assumes. (Or was it sub.DNS.domain? *shrug*)
It was a design decision by Sun that I've always thought terrible since
the two domains *should* have nothing to do with each other, but they
use them interchangably in places.

Quote:>I'm
>not very well versed in sendmail arcana, and I'm not sure what to look for
>in the sendmail book.  Can someone point me in the right direction, or tell
>me if I did something wrong in the installation of the OS, or suggest a
>tweak for the sendmail.cf files?  :)  or anything, for that matter  =)

Towards the top of the file, look for the line Dj$w.$m and change it to
Dj$w.med.umn.edu. *Or* add a line before that that says Dmmed.umn.edu.

Btw, you have to then stop and restart sendmail.

(It's Monday morning and I hope I got that all right. *wink*)

Ciao,

--
Richard Bainter          Mundanely     |    OS Specialist         - OMG/CSD
Pug                      Generally     |    Applied Research Labs - U.Texas

Note: The views may not reflect my employers, or even my own for that matter.

 
 
 

sendmail on Solaris 2.5 uses NIS domain instead of hostname

Post by Eric D. Hendrickson (C » Fri, 21 Jun 1996 04:00:00



> >I am using the stock sendmail.cf and sendmail on our Solaris 2.5 systems.
> >I have noticed that they report the hostname as ``host.our-NIS-domain''
> >rather than ``host.med.umn.edu'' in the mail headers of outgoing mail.

> Yeah. I hate this decision. Did you know that all Sun systems have an NIS
> domain that is the same as their DNS domain? You didn't? Well I'm
> shocked, that is what Sun assumes. (Or was it sub.DNS.domain? *shrug*) It
> was a design decision by Sun that I've always thought terrible since the
> two domains *should* have nothing to do with each other, but they use
> them interchangably in places.

Really...  That is rather lame.  I called Sun about it and they suggested
adding a Dmmed.umn.edu line, as did you.  The person I talked to seemed to
be a bit uncomfortable about the whole thing, and I was too, as it still
bothers me.  I don't like advertising our NIS domain, which is NOT the same
as our DNS domain.

It is a trivial fix, but I don't feel like I should have to do it, let
alone on every one of our Solaris 2.5 systems (though that can be automated
of course, but it's the principle of the thing).  I've been thinking about
installing straight sendmail 8.x on all our systems, which would mean we
would have the same version across the board, but I shouldn't have to do
*that* in order to fix this, either.

Does anybody have any suggestions on whether I should take this up with Sun
or not?  We are a contract user of theirs...

Thanks,
                Eric
--
Either one of us, by himself, is expendable.  Both of us are not.
                -- Kirk, "The Devil in the Dark", stardate 3196.1

Eric D. Hendrickson              Computational Biology Centers/Medical School
Senior Analyst/Programmer           University of Minnesota, Twin Cities, USA
612/625-3644 (phone)           <a href="http://umn.edu/~edh">Crystal Cave</a>
612/626-0623 (fax)        Damnit!  I can't stop the heterocyclic declination!

 
 
 

sendmail on Solaris 2.5 uses NIS domain instead of hostname

Post by Philip Bro » Sat, 22 Jun 1996 04:00:00





>> >I am using the stock sendmail.cf and sendmail on our Solaris 2.5 systems.
>> >I have noticed that they report the hostname as ``host.our-NIS-domain''
>> >rather than ``host.med.umn.edu'' in the mail headers of outgoing mail.
>> ...

>Really...  That is rather lame.  I called Sun about it and they suggested
>adding a Dmmed.umn.edu line, as did you.  The person I talked to seemed to
>be a bit uncomfortable about the whole thing, and I was too, as it still
>bothers me.  I don't like advertising our NIS domain, which is NOT the same
>as our DNS domain.

>It is a trivial fix, but I don't feel like I should have to do it, let
>alone on every one of our Solaris 2.5 systems ...

>Does anybody have any suggestions on whether I should take this up with Sun
>or not?  We are a contract user of theirs...

too right.

We are having similar problems.
On looking at it further, I have found our problem is that
it strips one subdomain off the domainname.
So , if your domain is subdom.company.com, Dm is set by DEFAULT to
"company.com.
This is idiotic. But is actually DOCUMENTED. only in the answerbook,
though.

[ive posted about this on the solve bbs]

Since it is documented, I technically can't file a "bug report", but
I AM trying to file an RFE (request for enhancement).
I encourage everyone else to do the same.
The end goal: to have sendmail use the DNS-resolved domain-name, as
is, without further mangling.

The lofty goal: full compatibility with "real" v8 sendmail, instead of
the * twisted monster sun seems to think we want.

[I WANT MY DATABASES TOO, DAMMIT!]

--
 --------------------------------------------------

 
 
 

sendmail on Solaris 2.5 uses NIS domain instead of hostname

Post by Tony Cato » Sun, 23 Jun 1996 04:00:00



   I've been thinking about
   installing straight sendmail 8.x on all our systems, which would mean we
   would have the same version across the board, but I shouldn't have to do
   *that* in order to fix this, either.

Well, in a better world, perhaps you would be correct.  But I'm
happily using sendmail 8.x on all our various Sun and non-Sun systems,
and the problems other sysadmins have with sendmail are usually fixed
by switching to 8.x.  Arguing about what *should* be necessary when
you have in hand a convenient solution that works seems a bit beside
the point.

- Tony

 
 
 

1. NIS+ domain: 1 part -> 2 part (Solaris 2.3 -> 2.5)

OK, 2 years ago, when I set up my NIS+ domain under Solaris 2.3, it was
acceptable to use a "1 part" domain name (e.g. fred).  Now, under Solaris
2.5, a "2 part" NIS+ domain name is required (e.g. fred.com or fred.flintstone).

Could someone who has already gone through this pain please let me know
what the gotchas are?  What is the procedure for changing my NIS+ domain name
(or how can I avoid it)?

Thanks,

Mike

--
_______________________________________________________________________

Senior Network Analyst                            Phone: (216) 585-8655
Elsag Bailey Process Automation - Cleveland, OH   FAX:   (216) 585-6865
_______________________________________________________________________

2. Validating user id and password

3. Solaris 2.5 sendmail doesn't know the domain name

4. Q: timeout on connect()

5. Sendmail, virtual domains, solaris 2.5

6. exim setup

7. Solaris 2.3 NIS+ Upgrade to Solaris 2.5 NIS+ Question!

8. Whats better FreeBSD or Linux?

9. Using Linux NIS client in Solaris NIS Domain

10. Sendmail and host.domain.com instead of domain.com

11. Sendmail: root@domain.com instead of root@host.domain.com

12. Solaris 2.5 Solstice Printer Manager Problem when using NIS+

13. Secure NFS under Solaris 2.5/2.5.1 without NIS/NIS+ ?