Sendmail 8.7.1 + multiple NIS+ domains

Sendmail 8.7.1 + multiple NIS+ domains

Post by Matthew Flanag » Fri, 03 Nov 1995 04:00:00



I am currently trying to get sendmail 8.7.1 to work with multiple NIS+ domains.
Here is out setup the NIS+ domains:

    uts.edu.au  ----- itd.uts.edu.au
                      |
                      ----- bus.uts.edu.au
                      |
                      ----- lib.uts.edu.au
                      |
                      ....

The root server (uts.edu.au) is also the server for itd, bus, and lib.
Sendmail is
also configured to accept mail locally for these domains.

Now the problem I'm having is that when ever sendmail does an address
lookup eg for

mail_aliases.org_dir.uts.edu.au. I'd _really_
like it to look in mail_aliases.org_dir.itd.uts.edu.au.

Why doesn't it do this?
How can i get it to do it?

ps. I've been looking at  the source (alias.c and map.c) and been
considering changing the
way it handles nis+ alias lookups.  Any caveats?

--

Network Administrator - Information Technology Division
University of Technology, Sydney

 
 
 

Sendmail 8.7.1 + multiple NIS+ domains

Post by Roland Ki » Sun, 05 Nov 1995 04:00:00




The way I did it here was to set up mail servers on each of  the
domains. I didn't do it on the NIS+ master for that domain as it
lies in the domain above and doesn't know who anybody is (infact
this causes so many other problems too - I wish that SUN hadn't
done it that way).

Local mail is then delivered via /var/mail, which is nicely
automounted from a local machine and the automount can be
changed on a per-domain basis.

The sendmail files on all the local sendmail relays is the same,
infact I made up an extra NIS+ table with the local domain name
and the next mail relay up in the food chain so that is the only
customization that I have to do for a new subdomain. All the machines
are locally aliased to mailhost.

The master at the top has a list of all the domains served and checks
the mail that comes in. It then rewrites the address to be local

forward the mail to mailhost.itd for processing.

This pyramid seems to work well. All the local mail is ok, all the names
and automounts are local and mail flows nicely.

                        Roland

>I am currently trying to get sendmail 8.7.1 to work with multiple NIS+
domains.
>Here is out setup the NIS+ domains:

>    uts.edu.au  ----- itd.uts.edu.au
>                      |
>                      ----- bus.uts.edu.au
>                      |
>                      ----- lib.uts.edu.au
>                      |
>                      ....

>The root server (uts.edu.au) is also the server for itd, bus, and lib.
>Sendmail is
>also configured to accept mail locally for these domains.

>Now the problem I'm having is that when ever sendmail does an address
>lookup eg for

>mail_aliases.org_dir.uts.edu.au. I'd _really_
>like it to look in mail_aliases.org_dir.itd.uts.edu.au.

>Why doesn't it do this?
>How can i get it to do it?

>ps. I've been looking at  the source (alias.c and map.c) and been
>considering changing the
>way it handles nis+ alias lookups.  Any caveats?


 
 
 

Sendmail 8.7.1 + multiple NIS+ domains

Post by Toomas Soo » Tue, 07 Nov 1995 04:00:00


: I am currently trying to get sendmail 8.7.1 to work with multiple NIS+ domains.
: Here is out setup the NIS+ domains:

:     uts.edu.au  ----- itd.uts.edu.au
:                       |
:                       ----- bus.uts.edu.au
:                       |
:                       ----- lib.uts.edu.au
:                       |
:                       ....

: The root server (uts.edu.au) is also the server for itd, bus, and lib.
: Sendmail is
: also configured to accept mail locally for these domains.

: Now the problem I'm having is that when ever sendmail does an address
: lookup eg for

: mail_aliases.org_dir.uts.edu.au. I'd _really_
: like it to look in mail_aliases.org_dir.itd.uts.edu.au.

: Why doesn't it do this?
: How can i get it to do it?

set up search path for these tables...
nistbladm -u -p mail_aliases.org_dir.itd.uts.edu.au. \
mail_aliases.org_dir.uts.edu.au.

and that's all...

toomas
--
 Redistribution by Microsoft Network is prohibited.

 
 
 

1. Multiple NIS domains served from one NIS Master server?

I am trying to find documentation on how to setup a NIS Master server
that acts as the master server for multiple NIS Domains.  I am not
sure if this is even possible in linux.  We have setup this
environment in HP-UX in the past.  However the ypinit command on HP-UX
allows you to specify the NIS domain if you do not want to use the
domain specified by the domainname command.

I want to setup an environment that has one NIS Master server that I
can administer all of my NIS domains from.  I would then create a NIS
domain for each customer I support and create NIS slave servers on a
few of their servers.  Each domain will have seperate NIS files. So a
seperate password, group, alias, etc...

I was able to create one NIS domain master server, however I have no
idea how I would add more NIS domains to that server.

2. Satan patch

3. How to have 2 component NIS+ domain emulate one component NIS domain?

4. Newbie failing at installing package...

5. NIS+ Sub-Domain client: should it be a member of the master domain AND sub-domain?

6. StarOffice

7. HELP: Trying to configure sendmail for multiple domains.

8. : for route problem

9. multiple domains and sendmail

10. multiple domain for SENDMAIL.CF

11. YP/NIS: Multiple Domains

12. NIS multiple domains on a master

13. Multiple NIS Domains on one LAN - how?