SUMMARY: Additional Alias files?

From: Gary Richardson (gpr@proteon.com)
Date: Thu Jun 04 1992 - 00:11:30 CDT


Hi all,

Thanks to all who replied to my second mail about this subject. The
general consensus was that I couldn't do EXACTLY what I wanted to do,
but suggested that I do something to the effect of:

have two alias files. 1) /etc/aliases.system 2) /etc/aliases.pcs

Have the aliases.pcs file get created from the seperate pc network,
then merge the two files into one /etc/aliases file.

This is probably what I'm going to do. Thanks to all who replied:

"Anthony A. Datri" <datri@concave.convex.com>
David Wiseman <magi@csd.uwo.ca>
Neil W Rickert <rickert@cs.niu.edu>
"Paul M. Mickel" <mickel@oes.orst.edu>
Stefan Mochnacki <stefan@centaur.astro.utoronto.ca
tkevans@eplrx7.es.duPont.com (Tim Evans)
don@mars.dgrc.doc.ca (Donald McLachlan)
stern@sunne.East.Sun.COM (Hal Stern - NE Area Systems Engineer)
geertj@ica.philips.nl (Geert Jan de Groot)
macphed@dvinci.usask.ca (Ian MacPhedran)
oran@spg.amdahl.com (Oran Davis)
rackow@antares.mcs.anl.gov (Gene Rackow)
srm@shasta.gvg.tek.com (Steve Maraglia)
Perry_Hutchison.Portland@xerox.com
synaptx!jen!rheaton@uunet.UU.NET
david@srv.PacBell.COM (David St. Pierre)
kwthomas@nsslsun.nssl.uoknor.edu (Kevin W. Thomas)
VINCE@UCONNVM.UCONN.EDU
 phil@dgbt.doc.ca (Phil Blanchfield)
Aydin Edguer <edguer@alpha.CES.CWRU.Edu>
ept@eptsun1.ctd.ornl.gov (E P Tinnel)
Tasuki Hirata <sukes@eng.umd.edu>
knutson@urbino.mcc.com (Jim Knutson)
Scott Blachowicz <scott@statsci.com>
trudel@cs.rutgers.edu
Mario Nigrovic <mario@wdc.sps.mot.com>
Melissa Metz <melissa@broccoli.cc.columbia.edu
Mike Raffety <miker@sbcoc.com>
Kayvan Sylvan <kayvan@satyr.Sylvan.COM>
derek@nexus.ca (Derek Mallard)
ebumfr@ebu.ericsson.se (Mike Rembis 6259)
nagel@post.inf-wiss.ivp.uni-konstanz.de
Sheryl Coppenger <sheryl@seas.gwu.edu>
Stefan Mochnacki <stefan@centaur.astro.utoronto.ca>

phew... below is my original (two) messages... thanks to all!!

-Gary

----- Begin Included Message -----

>From sun-managers-relay@ra.mcs.anl.gov Tue May 26 21:52:07 1992
Return-Path: <sun-managers-relay@ra.mcs.anl.gov>
Sender: sun-managers-relay@ra.mcs.anl.gov
Date: Tue, 26 May 92 13:54:08 EDT
From: gpr@proteon.com (Gary Richardson)
Reply-To: gpr@proteon.com (Gary Richardson)
Followup-To: gpr@proteon.com (Gary Richardson)
To: sun-managers@eecs.nwu.edu
Subject: SUMMARY (not really): Additional Alias files?
Content-Length: 2658
X-Lines: 72

Hi,

I've recieved some replies on the above subject, and also talked to
the engineer again. I've found my info is a bit wrong. What he's got is a
network of pc's, and they use their own little mail system. What he
wants to do is create an alias file from his pc's mail system, and
copy it over to the Sun nightly, but doesn't want to mess around with
the /etc/aliases file.

The replies I've recieved suggested to use the line:

foo: :include:/home/joeblow/aliasfile

This works for a single alias called "foo", with the users assigned to
the alias "foo" in the file "/home/joeblow/aliasfile". What we want
to do here is have the file "aliasfile" be an additional alias file
that would take on the same format as the /etc/aliases file. Thus,
/home/joeblow/aliasfile could theoretically look like this:

#
#
pcuser1:pcuser1@pcrelay
pcuser2:pcuser2@pcrelay
etc..
etc..
etc..

Then we'd need some sort of reference in the /etc/aliases file to tell
it that if, for example, a user sends mail to "pcuser1", that if it
doesn't find it in /etc/aliases, to look to /home/joeblow/aliasfile
and look in the SUBalias file for it.

Now that I think I've explained it clearly (and understand what he's
looking to do) I can send this mail out.

I thank the people who have sent me the answer for a single alias, but
alas, it's not the resolution I need. If anyone knows of a way to
accomplish what I think I have explained properly this time, I would
be grateful! :-)

I shall Re-summarize

-Gary

FOr those interested, here's my first posting....

>Hi sun-managers
>
>I have an interesting question. One of my users wants to have his
>/etc/aliases file reference another file for additional aliases (like
>having his own personal alias file). He doesn't want it to be his
>.record. From what I gather, he will be generating aliases automatically
>from some program, and wants to store them in a file seperate from
>/etc/aliases, yet still have the aliases file "see" them.
>
>The only way I can relate anything to this is like how YP/NIS uses the
>"+". Like in /etc/group you can store local groups, and have the "+"
>at the end of the file to say "look to YP for any additional entries".
>
>Is there a way, without using YP/NIS that I can do something like this
>with the alias file? Can I tell the alias file (or would it be sendmail?)
>that if you don't find the alias in /etc/aliases, to look someplace else?
>
>We don't use YP/NIS here, so I can't look there. I'm not sure where
>else I'd look in any FM's for info on what I (think) I want/need to
>do, so I thought I'd try sun-managers.
>
>If anyone can help, I'd appreciate it. I'll summarize.
>
>-Gary

----- End Included Message -----



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:43 CDT