home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / next / sysadmin / 7180 < prev    next >
Encoding:
Text File  |  1992-12-22  |  1.6 KB  |  40 lines

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!sunova!usenet
  3. From: faught@berserk.ssc.gov (Ed Faught)
  4. Subject: Re: Mail address lists in Mail.app
  5. Message-ID: <1992Dec22.190030.6358@sunova.ssc.gov>
  6. Sender: usenet@sunova.ssc.gov (News Admin)
  7. Nntp-Posting-Host: berserk.ssc.gov
  8. Reply-To: faught@berserk.ssc.gov
  9. Organization: Superconducting Super Collider Laboratory
  10. References: <12260@cayman.COM>
  11. Distribution: usa
  12. Date: Tue, 22 Dec 1992 19:00:30 GMT
  13. Lines: 25
  14.  
  15. In article <12260@cayman.COM> jbatson@cayman.com (Jay Batson) writes:
  16. >I would like the "Addresses" panel within Mail.app to contain the contents of  
  17. >our corporate smtp "aliases" file.  Since we don't run Netinfo for any other  
  18. >systems, I have no idea where Mail.app get's its information.  I can enter all  
  19. >the names manually, but our organization is large enough that a) this is  
  20. >sufficiently time consuming that it isn't worth the effort, and b) the list  
  21. >changes in some way virtually daily, and I'd spend forever making manual  
  22. >changes.
  23. >
  24. >So I need it done in some automated way.  My NeXT machine can see the  
  25. corporate  
  26. >aliases file (via NFS) but is there an automated way to get the information  
  27. re:  
  28. >user names, groups, etc. in to the place where Addresses in the Mail.app are  
  29. >stored?
  30.  
  31. I can't vouch for it's usefulness, but this is what I use:
  32.  
  33. #! /bin/sh
  34. cd /LocalLibrary/Images/People
  35. ypcat -k aliases | grep , | sort | sed "s/ /:/g" >> aliases
  36.  
  37. --
  38. Ed Faught  WA9WDM  faught@berserk.ssc.gov
  39.  Superconducting Super Collider Laboratory
  40.