Alias Lister For Users

Neil Rickert rickert at mp.cs.niu.edu
Sun Nov 18 13:05:54 AEST 1990


In article <1990Nov17.023351.16824 at lokkur.dexter.mi.us> scs at lokkur.dexter.mi.us (Steve Simmons) writes:
>
>At work we live and die by email, and we've got mail aliases coming
>out our ears.  I get regular requests to know who's on a given alias.
>Our user community is pretty computer-naive, so telling them to grep
>the alias file isn't real useful.  In a flash of inspiration, I threw
>together the following shell script.  Install it as 'printalias' (or
>the name of your choice) on a sendmail-based system, and it'll give
>you nice listings of who is in any given alias.  It's slow, but what
>the hell.  Check the values of ALIASES and SENDMAIL to be sure they're
>right for your installation.  Enjoy.
>
 You might want to check out the IDA sendmail kit, available at several
ftp sites (uxc.cso.uiuc.edu for example).  It includes a neat little
command 'dbm' which can be used for the same purpose.  You would
just say:  dbm fetch aliasname alias-file-name
and get your listing.  It's fast, but what the hell.

-- 
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
  Neil W. Rickert, Computer Science               <rickert at cs.niu.edu>
  Northern Illinois Univ.
  DeKalb, IL 60115.                                  +1-815-753-6940



More information about the Alt.sources mailing list