home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 2 / 2102 < prev    next >
Text File  |  1990-12-28  |  1KB  |  30 lines

  1. Newsgroups: alt.sources,comp.mail.misc
  2. From: rickert@mp.cs.niu.edu (Neil Rickert)
  3. Subject: Re: Alias Lister For Users
  4. Message-ID: <1990Nov18.020554.17860@mp.cs.niu.edu>
  5. Date: Sun, 18 Nov 90 02:05:54 GMT
  6.  
  7. In article <1990Nov17.023351.16824@lokkur.dexter.mi.us> scs@lokkur.dexter.mi.us (Steve Simmons) writes:
  8. >
  9. >At work we live and die by email, and we've got mail aliases coming
  10. >out our ears.  I get regular requests to know who's on a given alias.
  11. >Our user community is pretty computer-naive, so telling them to grep
  12. >the alias file isn't real useful.  In a flash of inspiration, I threw
  13. >together the following shell script.  Install it as 'printalias' (or
  14. >the name of your choice) on a sendmail-based system, and it'll give
  15. >you nice listings of who is in any given alias.  It's slow, but what
  16. >the hell.  Check the values of ALIASES and SENDMAIL to be sure they're
  17. >right for your installation.  Enjoy.
  18. >
  19.  You might want to check out the IDA sendmail kit, available at several
  20. ftp sites (uxc.cso.uiuc.edu for example).  It includes a neat little
  21. command 'dbm' which can be used for the same purpose.  You would
  22. just say:  dbm fetch aliasname alias-file-name
  23. and get your listing.  It's fast, but what the hell.
  24.  
  25. -- 
  26. =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
  27.   Neil W. Rickert, Computer Science               <rickert@cs.niu.edu>
  28.   Northern Illinois Univ.
  29.   DeKalb, IL 60115.                                  +1-815-753-6940
  30.