home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / next / sysadmin / 4718 < prev    next >
Encoding:
Text File  |  1992-08-18  |  2.2 KB  |  54 lines

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!sun-barr!cs.utexas.edu!wupost!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!usenet
  3. From: kurrer@glasgow.ks.uiuc.edu (Christian Kurrer)
  4. Subject: Re: aliases
  5. References: <1992Aug9.215721.872@net23.uucp>
  6. Message-ID: <Bt76n6.8w6@news.cso.uiuc.edu>
  7. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  8. Organization: University of Illinois at Urbana
  9. Date: Tue, 18 Aug 1992 21:06:42 GMT
  10. Lines: 42
  11.  
  12. In article <1992Aug9.215721.872@net23.uucp> coke%net23@spectrx.saigon.com  
  13. (Brian Policky) writes:
  14. > I am having some old aliases showing up. I looked in the net info and in  
  15. > the /LocalLibrary/Images/People/aliases and have not found it. I have  
  16. also  
  17. > looked at the users .mailalias file. The alias that shows up isn't in  
  18. any  
  19. > of those places, and when I put a different alias for the same word in  
  20. the  
  21. > /LocalLibrary/Images/People/aliases file, it is still overridden with  
  22. this  
  23. > phantom alias. I need to know of all of the places where sendmail (or  
  24. > whatever) looks for aliases. I am running a lone NeXTcube with 2.1 OS.
  25. > Thanks
  26. > coke%net23@spectrx.saigon.com  
  27.  
  28. I have fought a long war on aliases, but I seem to be on the winning side.  
  29. Here is my recipe that I use (as root) to update the aliases:
  30.  
  31. mailserver# Edit /etc/sendmail/aliases
  32. mailserver# newaliases
  33. mailserver# cp /etc/sendmail/aliases /LocalLibrary/Images/People/aliases
  34. mailserver# niload -v -d aliases / < /etc/sendmail/aliases
  35.  
  36. I think that the mail system is pretty messy and certainly could need some  
  37. streamlining (system 3.0, where are you?). A lot of confusion arises from  
  38. the fact that three different needs have to be considered:
  39. -Unix, which requires you to run newaliases so that they are recognized by  
  40. sendmail
  41. -Netinfo, which want you to put all the Unix info in the NI database
  42. -and Mail, which seems to be too lazy to look for aliases anywhere else  
  43. than in /LocalLibrary/Images/People.
  44.  
  45. Two comments: 1. The recipe works, which is more than I usually expect.
  46. 2. There might be some overkill involved; any comments on this are  
  47. welcome, but nevertheless consider point 1.
  48.  
  49. Christian Kurrer
  50. kurrer@lisboa.ks.uiuc.edu
  51. NeXTMail discouraged. Flames, too.
  52.