[comp.unix.ultrix] YP and sendmail.cf on ULTRIX

sakas@zgdvda.UUCP (Vassilis Sakas) (06/07/90)

I try to change the sendmail configuration file on an ULTRIX 
(Ultrix-32 V3.0 (Rev 64)) system and I have some questions:

In our network we have several SUN's ULTRIX, HP and Silicon
Graphics machines sharing the same Yellow Pages information.
As first and secondary YP-servers we use two ULTRIX machines.
I try to configurate the sendmail on an ULTRIX machine which is
not a yp (neither primary nor secondary) server. In this
configuration I want to define two classes (let's say A and U)
to match the names of the aliased and local users respectively.
In a usual configutaion file this would look like:

FA/usr/lib/aliases
FU/etc/passwd

but this assumes that those files should exist in the local host.
Especialy the "local" users are defined in the yp passwd file which
does not exist completely on the local host.
On the other side, the commands 'ypcat -k aliases' and 'ypcat passwd'
create as an output a copy of the originals in the yp-server.
Actually these are the inputs I need for the above classes.
A solution would be to create these files locally whenever the
server information is changed; but I would prefere to let things
be done automativally. On a SUN 4 system for example one has the
possibility to define classes as follows:

Fc | command

but this does not work on ULTRIX. Are there any other possibilities
on ULTRIX to match strings from yp-files???

Vassilis SAKAS,

Zentrum fuer Graphische Datenverarbeitung e.V. (ZGDVD)
Wilhelminenstr. 7
6100 Darmstadt
W. Germany

E-mail: sakas@zgdvda.uucp or sakas@agd.fhg.de