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" <firstname.lastname@example.org>
David Wiseman <email@example.com>
Neil W Rickert <firstname.lastname@example.org>
"Paul M. Mickel" <email@example.com>
Stefan Mochnacki <firstname.lastname@example.org
email@example.comPont.com (Tim Evans)
firstname.lastname@example.org (Donald McLachlan)
stern@sunne.East.Sun.COM (Hal Stern - NE Area Systems Engineer)
email@example.com (Geert Jan de Groot)
firstname.lastname@example.org (Ian MacPhedran)
email@example.com (Oran Davis)
firstname.lastname@example.org (Gene Rackow)
email@example.com (Steve Maraglia)
david@srv.PacBell.COM (David St. Pierre)
firstname.lastname@example.org (Kevin W. Thomas)
email@example.com (Phil Blanchfield)
Aydin Edguer <edguer@alpha.CES.CWRU.Edu>
firstname.lastname@example.org (E P Tinnel)
Tasuki Hirata <email@example.com>
firstname.lastname@example.org (Jim Knutson)
Scott Blachowicz <email@example.com>
Mario Nigrovic <firstname.lastname@example.org>
Melissa Metz <email@example.com
Mike Raffety <firstname.lastname@example.org>
Kayvan Sylvan <kayvan@satyr.Sylvan.COM>
email@example.com (Derek Mallard)
firstname.lastname@example.org (Mike Rembis 6259)
Sheryl Coppenger <email@example.com>
Stefan Mochnacki <firstname.lastname@example.org>
phew... below is my original (two) messages... thanks to all!!
----- Begin Included Message -----
>From email@example.com Tue May 26 21:52:07 1992
Date: Tue, 26 May 92 13:54:08 EDT
From: firstname.lastname@example.org (Gary Richardson)
Reply-To: email@example.com (Gary Richardson)
Followup-To: firstname.lastname@example.org (Gary Richardson)
Subject: SUMMARY (not really): Additional Alias files?
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:
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:
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
FOr those interested, here's my first posting....
>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.
----- End Included Message -----
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:43 CDT