home *** CD-ROM | disk | FTP | other *** search
/ back2roots/padua / padua.7z / padua / uucp / uucp_mods.lha.30.12.93 / uucp_mods / HIERARCH.DOC
Encoding:
Text File  |  1993-12-30  |  3.2 KB  |  80 lines

  1.  
  2.            UUCP Modifications - Mike J. Bruins  Dec 30, '93.
  3.        ----------------------------------------------------------
  4. 0) Latest
  5. -----------
  6. uucico now sd3 (xferstat loging)
  7. AXSH versions of uucico/sendmail/rmail available
  8. Bugs:  run uuhelp in a generous stack.
  9.  
  10.  
  11. Welcome, this doc is ment to go some way towards explaining what changes
  12. I made and the benifits of them.  Please excuse typos, it's 2 am.
  13.  
  14. 1) Hierarchical Spool
  15. -------------------
  16. As a node grows, it's traffic increases, especially if it becomes a hub site.
  17. This is what happened to me, and I found having 2000+ files in the spool
  18. area caused problems, like uucico timeout on dir reads, and mailq taking
  19. minutes to show entries.
  20.  
  21. My modifications make UUCP use UUSPOOL:<system_name> as the spool directory.
  22. Separating the traffic for each system has many advantages like uucico scans
  23. only the files for that system, not every system, dramatically reducing the
  24. amount of drive activity.  Now, if a system doesn't poll for weeks then
  25. the extra files don't effect the performance of every other system.
  26.  
  27. Conversion.
  28. ------------
  29. Conversion of spool structure is trivial.  Replace the binaries (uucico,
  30. uux, uuxqt, sendmail/rmail, mailq) with the new hierarchical ones.  Then
  31. create a directory in the spool for each system (using the first 7 chars
  32. of it's name), and move all files into there respective dirs.  Leave all
  33. logfiles and the like in the spool dir.
  34.  
  35. If you are a tad lazy just send a piece of mail (or news and run batchnews)
  36. informing all sites you are using hierarchical spool.  All the directories
  37. will be created for you.  Move the files as described above.
  38.  
  39. "Don't send any money, there's more ...."
  40. -------------------------------------------
  41. As well as the advantages outlined above, a few of the old commands can
  42. now take arguments.  For example mailq/uuxqt can now be given a list of
  43. systems and the command will apply to only those systems, and in the
  44. order given.
  45.  
  46. e.g.  uuxqt system1 system2
  47.       mailq system1 system2
  48.  
  49. 2) UUHelp
  50. -----------
  51. This little program is a "throw in" (and throw out?).  When you run it
  52. it moves all news out of uunews:junk and into the correct news dir.
  53. If needed, the dir (and all above it) is created, and the group
  54. is added to the uulib:newsgroup file.  It takes an optional command
  55. line argument, the number of days before expiry.  Default is 7 days.
  56.  
  57. e.g. uuhelp
  58.      uuhelp 1
  59.  
  60. Future
  61. -------
  62. By the time you read this I will most likely have completed modifications
  63. to sendmail.   The ability to call an external sendmail for the 
  64. class/domains not associated with UUCP. I.E. adding SMTP support to UUCP.
  65.  
  66. Also I     hope to complete modifications to getty.  Getting it to tell the
  67. modem to pick up, rather than pick up and hope getting is there.  Thus 
  68. no more wasted calls to dead gettys.
  69.  
  70. Credits
  71. --------
  72. I would like to thank the members of Australian Public Access Networking
  73. Assoc, for stress testing my machine to breaking point.
  74.  
  75. Lastly I would like to thank Greg Robinson (robinson@arrakis.apana.org.au)
  76. for his testing and comments.  Without his machine to crash test UUCP, this
  77. software would never have been written.
  78.                                             Mike J. Bruins
  79.                                                bruins@hal9000.apana.org.au
  80.