home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / bbs / prepack3 / prepack.doc < prev    next >
Text File  |  1993-01-08  |  4KB  |  98 lines

  1. PREPACK ~ Prepacked mail list creator
  2. -------------------------------------
  3.  
  4. Why this program?  , well I had two or three users who requested Prepacked
  5. Qmail and requested various days , one requested mail every day and they all
  6. promised to collect the mail as an when it was available.
  7.  
  8. Having recently checked I find 2 of the users who collect mail once a week
  9. only do so sparodicaly and one who requested prepacking every day hasn't
  10. called in 60 days!! , so for 60 days mail had been packed for this user
  11. taking anything upto 15 minutes to process and pack.
  12.  
  13.  
  14. If your BBS is anything like mine because the packing usually happens about
  15. 5am after mailing , you won't know how often your users are actually
  16. collecting the mail.
  17.  
  18. This is where PREPACK comes in, it will create a file called PREPACK.LST
  19. containing a list of valid names for the current days prepacking.
  20.  
  21. You will need to create a PREPACK.CFG file in your main bbs directory , it
  22. has the following format
  23.  
  24. DAY,USERNAME,DAYS SINCE LAST CALL
  25.  
  26. Where DAY is any of the following days that mail is to be packed for
  27.  
  28. ALL    Every Day
  29. MON    Monday
  30. TUE    Tuesday
  31. WED    Wednesday
  32. THU    Thursday
  33. FRI    Friday
  34. SAT    Saturday
  35. SUN    Sunday
  36.  
  37. So the entry for a user who wants mail each day (John smith) and you wish
  38. to check that he has called within the last 4 days to collect mail would be
  39. as follows.
  40.  
  41. ALL,John Smith,4
  42.  
  43. After 4 days of not calling he will not be included in the list for that day
  44. , his old mail packet will be deleted and until he calls his name will not
  45. be added into PREPACK.LST , after he has called again then the next night
  46. he will be re-added into the PREPACK.LST file.
  47.  
  48. This will put the onus for collecting mail on the user for a change and not
  49. on the sysop to keep checking up on his/her users.
  50.  
  51. so the format of the PREPACK.CFG could be as follows
  52.  
  53. ALL,Michael Jarvis,4
  54. ALL,Jon Haworth,4
  55. ALL,Noname,7
  56. MON,Henry Dennis,7
  57. TUE,Wayne Barnes,7
  58. THU,Paul Kokis,7
  59. THU,Henry Dennis,7
  60. THU,Wayne Barnes,7
  61. SAT,Spencer Davies,7
  62. SAT,Wayne Barnes,7
  63. SUN,Paul Kokis,7  
  64. SUN,Wayne Barnes,7
  65. SUN,Stephen Nathan,7
  66.  
  67. I usually give users a couple of days grace before removing them from the
  68. PREPACK.LST as they may have problems logging on due to a busy period, hence
  69. the 4 day limit on users getting mail every day. (but it's upto you)
  70.  
  71. After completing the PREPACK.CFG , you need to run PREPACK with the
  72. parameter COMPILE , this then produces a slightly compiled list called
  73. PREPACK.DAT , this is used to speed up the process of reading the TPAS.DAT.
  74.  
  75. Every time you change the PREPACK.CFG you MUST use COMPILE.
  76.  
  77. When you wish to run PREPACK then use the parameter RUN , this will then
  78. Scan the users , compare the number of days since they were on last with
  79. the limits in the PREPACK.CFG file and produce the text file PREPACK.LST.
  80.  
  81. If you use the parameters RUN KILL then it will also delete the old Qmail
  82. packet for each user who has not called within the specified number of days.
  83.  
  84. All you need to do then is run 
  85.  
  86. $QUSER @PREPACK.LST once a day in your batch files and only mail for those
  87. users who require mail on that day and those who have called within their
  88. specified number of days will be packed , saving time , disk useage and
  89. hastle for you and your BBS.
  90.  
  91.  
  92. Disclaimer
  93. ==========
  94. I make no warranty on this software or it's perforamance , I cannot be held
  95. responsible for any problems or damage that occour to your hardware or
  96. software wether directly or indirectly attributed to this program.
  97.  
  98.