home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / vms / 22022 < prev    next >
Encoding:
Text File  |  1993-01-27  |  2.9 KB  |  61 lines

  1. Newsgroups: comp.os.vms
  2. Path: sparky!uunet!destroyer!gatech!asuvax!franz
  3. From: franz@asuvax.eas.asu.edu (Chris Franz)
  4. Subject: Re: Tool to edit vmsmail_profile.data
  5. Message-ID: <1993Jan26.173239.27089@asuvax.eas.asu.edu>
  6. Organization: Arizona State University
  7. References: <1993Jan25.230519.18247@asuvax.eas.asu.edu>,<1993Jan26.034859.8095@iscnvx.lmsc.lockheed.com> <1k2l74INNs62@gap.caltech.edu>
  8. Date: Tue, 26 Jan 1993 17:32:39 GMT
  9. Lines: 50
  10.  
  11. In article <1k2l74INNs62@gap.caltech.edu>, carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) writes:
  12. > In article <1993Jan26.034859.8095@iscnvx.lmsc.lockheed.com>, marshall@NEBULA.SSD.LMSC.LOCKHEED.COM (Bob Marshall) writes:
  13. > >In article <1993Jan25.230519.18247@asuvax.eas.asu.edu>,
  14. > >franz@asuvax.eas.asu.edu (Chris Franz) writes:
  15. > >>
  16. > >>Running VMS 5.5-1 on VAX 6410
  17. > >>
  18. > >>I need a tool (command procedure) to edit vmsmail_profile.data.
  19. > >>Does such an animal exist?
  20. > >
  21. > >I have a very good procedure to do this. It was written by Alan Zirkle
  22. > >many years ago, but it is still up-to-date as of VMS 5.5-2. I use it all
  23. > >the time. It allows you to easily manipulate the VMSMAIL_PROFILE.DATA
  24. > >record for any user. If anyone is interested I can mail them a copy.
  25. > >I thought about posting it, but it's 578 lines long.
  26. > Depending on what he wants to do with the file, he may already have such a
  27. > program.  It's called SYS$SYSTEM:MAIL.EXE.  This program will allow you do
  28. > modify the forwarding address for any user (or even for aliases).  It allows
  29. > you to set the personal name field for any user.  Combined with the SUBMIT/USER
  30. > command, it allows you to set the mail directory for any user, or to zero that
  31. > user's new mail count (though iusing if tor the latter is discouraged, as it
  32. > requires that you move all of his real new mail to a different folder).
  33. > So, my question to Chris is, "What the hell is it you really want to do?"
  34.  
  35. I guess brevity is not a virtue in this group.  Let me follow the
  36. guidelines and elaborate.  Our VMS environment is very dynamic.  I
  37. create and delete hundreds of accounts every semester.  When an
  38. account is terminated (files backed up and deleted, username removed
  39. from sysuaf and quota file), I wanted a way to remove all mail
  40. customization the user had done.  The defusing of a forwarding
  41. address, resetting the mail directory, and zeroing the new mail
  42. count are three things that can be done using various approaches
  43. as mentioned above, however, a record for that username remains
  44. in the mail profile.  Over time, old bones start to accumulate
  45. in the closet.  I wanted a way to remove the the username and
  46. all of its associated settings from vmsmail_profile.data.
  47.    
  48. Many thanks to:
  49.  
  50. Bob Marshall (marshall@nebula.decnet.lockheed.com)
  51. Michael N. LeVine (levine%fidler.decnet@chinalake.navy.mil)
  52. Chris Melaro (CMELARO@LOYOLA.EDU)
  53. Anthony Spinillo (spinillo@marywood1.marywood.edu)
  54.  
  55. for sending assorted DCL/C source to do the job.
  56.  
  57. Chris Franz
  58. franz@asuvax.eas.asu.edu
  59.