🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #71

Re: IDA sendmail with NIS aliases

#71
From: Paul Rosham
Date: Tue, 04 Aug 1992 01:33
41 lines
2419 bytes
In <1992Jul31.003109.8455@talon.ucs.orst.edu> leach@satchmo.OCE.ORST.EDU (Tom Leach) writes:

>Has anyone set up IDA sendmail to have a mail server that gets it's aliases  
>from the NIS master server (where they are not the same system).
>I'm trying to set up the following structure
>System A is a NFS file server that other systems mount /var/spool/mail from
>System B is a NIS server with a set of alias maps.
>System C is the DNS and mail server.  it NFS hard mounts /var/spool/mail from
>	system A, and gets aliases from system B.  No other systems should
>	NFS mount any part of the mail/DNS server (system C).

>The problem is with etting a correct m4 file for IDA.
>(currently using sendmail 5.65c + IDA 1.4.4 with patch level 1)
>(the above 3 systems are all Sun sparcs)

>I've tried to define (NIS_MAILALIASES) but then I have to define
>(NIS_MAILHOST).  If this is defined, any non-local mail is sent to the
>NIS server (system B) which (I guess) is then suppose to pass on the mail.
>I am trying to get the NIS server to only run NIS (no mail, dns, etc...)
>Is there any slick way to define this in the m4 file or will this take a bit
>of munging of the sendmail.cf file???

>Thanks in advance.
>Tom Leach
>leach@oce.orst.edu
Put the mail disk on System C, make it an NFS server for mail only, as well
as a mail server. Make it an NIS client or NIS slave server (less preferable
to you, I suspect). Make an host alias for system C in hosts map as
'mailhost'. [ A hard mount and a soft mount are both just NFS mounts, btw]
Why not make the DNS primary your NIS master [system C], and system B can be
mail, DNS secondary and NIS slave server.

There, I think that's it. A distributed system.
You then have:

System A	general purpose NFS file server. Why not make this an NIS
		slave server, too?
System B	NIS master server. DNS primary server.
System C	DNS, NIS and mail server. 

-PaulR.
Technical Details
Message-ID: <1992Aug4.013352.4161@fulcrum.oz.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!mips!mips!munnari.oz.au!deakin.OZ.AU!fulcrum.oz.au!paulr
References: <1992Jul31.003109.8455@talon.ucs.orst.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!mips!mips!munnari.oz.au!deakin.OZ.AU!fulcrum.oz.au!paulr
From: paulr@fulcrum.oz.au (Paul Rosham)
Newsgroups: comp.mail.sendmail
Subject: Re: IDA sendmail with NIS aliases
Keywords: IDA sendmail NIS aliases
Message-ID: <1992Aug4.013352.4161@fulcrum.oz.au>
Date: 4 Aug 92 01:33:52 GMT
References: <1992Jul31.003109.8455@talon.ucs.orst.edu>
Organization: The Fulcrum Consulting Group
Lines: 41