Hello sun-managers
My original question/problem is included below. I was trying to find a way to get my gateway machine to pass mail to/from my mailhost (NIS master). I didn't get any responses telling me how I could do that, so I took the easy and recommended way out and:
- made my gateway machine the mailhost.
- changed the NIS master sendmail.main.cf file back to a sendmail.subsidiary.cf.
- mounted the NIS master /var/spool/mail onto my gateway machine.
And now the mail works fine.
My thanks to the following respondents:
lora@popcbr.ROCKEFELLER.EDU (Lora Frisch)
larry@cchtor.cch.com (Larry Chin)
Neil W Rickert <rickert@cs.niu.edu>
Kent Sparrow
ksparrow@baosc.com
------------------- Original Question -------------------------------------
>
> Sun-managers
>
> ......Loosing hair and turning gray, Sendmail, definitely not my cup of tea!
>
> QUESTION: What sendmail variables/options do I need to set to get my NIS master(mailhost) to forward non "baosc.com" mail to my gateway machine; and to get my gateway machine to be able to forward inbound "baosc.com" mail to my NIS master for distribution to the rest of my network?
>
> I have just recently configured one of my SUNs as a gateway for a Dial-Up connection with PSI-Net to UUCP mail to/from the Internet (and to occasionally make a SLIP connection to enable me to telnet or ftp). I have no problem sending non "baosc.com" addressed mail out of my gateway, or receiving mail addressed to "baosc.com" from the outside world. However, I have tried to set up mail aliases to forward inbound mail from my gateway to my NIS master(mailhost) and get the following error in the ret
mail:
>
> ----- Transcript of session follows -----
> Connected to virginia:
> >>> HELO baosc.com
> <<< 553 baosc.com host name configuration error
> 554 brockway@virginia... Service unavailable
>
> panama:/etc/aliases:
> brockway:brockway@virginia
>
> Configuration of gateway machine:
> hostname - panama
> domainname - baosc.com
> Not running NIS
> No NFS mounts
> panama:/etc/hosts includes entry for "virginia" the NIS master/mailhost
>
> Parts of panama sendmail.cf file look like this:
> Dwbaosc.com
> DNpanama
> CwLOCAL baosc baosc.com
> ### local machines we can send mail to.
> CFvirginia
> ### Your UUCP hostname
> DUpanama
> CUpanama
> ### Our local campus domain name,
> DDbaosc.com
> ##############################################################################
> Configuration of network mailhost:
> hostname - virginia
> domainname - baosc.com
> NIS master
> exporting /var/spool/mail to all NIS clients ( but not panama)
> virginia:/etc/hosts includes an entry for panama
>
> virginia sendmail.cf file is the generic /usr/lib/sendmail.main.cf except for
> the DR and CR entry:
>
> # my official hostname
> Dj$m
>
> # major relay host: use the $M mailer to send mail to other domains
> # Changed by KDS 921207 to reflect panama as the mail relay out to the world.
> DRpanama
> CRpanama
>
> The DR and CR evidently are looking to UUCP the mail to the gateway...???
> I got the following when trying to send something out from an NIS client:
> ----- Transcript of session follows -----
> bad system name: panama
> uux failed ( 68 )
> 550 <testuser@anywhere.com>... Host unknown
>
> Appreciate any help or advice.
>
> Kent D. Sparrow
> Sun Systems Admin.
> ksparrow@baosc.com
>
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:26 CDT