home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 2 / 2105 < prev    next >
Encoding:
Internet Message Format  |  1990-12-28  |  1.8 KB

  1. From: scs@lokkur.dexter.mi.us (Steve Simmons)
  2. Newsgroups: alt.sources,comp.mail.misc
  3. Subject: Re: Alias Lister For Users
  4. Message-ID: <1990Nov18.055118.28281@lokkur.dexter.mi.us>
  5. Date: 18 Nov 90 05:51:18 GMT
  6.  
  7.  
  8. In article <1990Nov17.023351.16824@lokkur.dexter.mi.us> I wrote:
  9.  
  10. >Install it as 'printalias' (or the name of your choice) on a
  11. >sendmail-based system, and it'll give you nice listings of who is in
  12. >any given alias.  It's slow, but what the hell.
  13.  
  14. rickert@mp.cs.niu.edu (Neil Rickert) writes:
  15. > You might want to check out the IDA sendmail kit, available at several
  16. >ftp sites (uxc.cso.uiuc.edu for example).  It includes a neat little
  17. >command 'dbm' which can be used for the same purpose.  You would
  18. >just say:  dbm fetch aliasname alias-file-name
  19. >and get your listing.  It's fast, but what the hell.
  20.  
  21. I live and die by IDA, and strongly recommend it to anyone dealing with
  22. sendmail on a regular basis.
  23.  
  24. But its dbm utility doesn't do the job.  We (and many other sites)
  25. often have heirarchical aliases -- mail to `all' is aliased to
  26. departments, departmental mail is aliased to groups, group mail is
  27. aliased to people, some of whom have their secretaries copied on
  28. everything.  Doing 'dbm fetch all /usr/lib/aliases' would only list the
  29. first level.  Even doing multiple probes would not get a full answer,
  30. as it would not interpret aliases of the form "include filename".
  31. Using the printalias scripot script to drive sendmail and get the
  32. complete interpretation is the only full correct answer I know of
  33. without requiring a suid program.
  34.  
  35. Plus the slow correct answer is better that fast wrong one.  :-)
  36. -- 
  37. "When your neighbour loses his job, it's a slowdown; when you lose your own
  38.  job, it's a recession; when an economist loses his job it's a depression."
  39.     -- "Six Ways To Define A Recession", The Economist, Nov. 3 1990.
  40.