home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!sol.ctr.columbia.edu!emory!ogicse!plains!news.u.washington.edu!milton.u.washington.edu!beaker
- From: beaker@milton.u.washington.edu (Clint Olsen)
- Newsgroups: comp.sys.sun.admin
- Subject: Found solution to sendmail problem
- Message-ID: <1992Jul27.233916.16747@u.washington.edu>
- Date: 27 Jul 92 23:39:16 GMT
- Sender: news@u.washington.edu (USENET News System)
- Organization: University of Washington, Seattle
- Lines: 43
-
- Hello:
-
- Thank you for all of your responses. I now have about 7
- different sendmail.cf files to use, but I've managed to get
- my Suns to work with the original config file. Here's a
- summary of what I found out:
-
- If you have the support, I'd suggest that you use another
- sendmail.cf file because Sun's is apparently junk. At least
- that's what a lot of you told me. I agree.
-
- Anyway, to use a sendmail.cf (/usr/lib/sendmail.subsidiary.cf)
- you copy it to sendmail.cf in /etc. I did do that right.
-
- If your NIS domain is DIFFERENT from you DNS domain, you must
- do the following:
-
- Define a macro and a class like this:
-
- Dmyourdnsdomain
- Cmyourdnsdomain
-
- This is documented in the sendmail.cf file near the top. This will
- keep your address straight from your NIS domain. I don't know why
- you'd expect them to be the same, because everyone always tells me
- NIS and DNS have NOTHING IN COMMON! It would make sense to me to make
- a distinguishment between the two by naming them differently.
-
- If you are using sendmail.mx (which you should, esp. if you want to
- be able to mail sites that are MX records in your main mail machine),
- then you need to edit one line of your file:
-
- Find the line that has "Your official hostname."
- It will say:
-
- Dj$w.$m
-
- Remove the ".$m" and it should read "Dj$w".
-
- That will keep you fully qualified hostname from repeating all of
- the trailing stuff twice.
-
- -Clint
-