home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / sys5 / r4 / 566 < prev    next >
Encoding:
Internet Message Format  |  1992-11-20  |  3.6 KB

  1. Xref: sparky comp.unix.sys5.r4:566 comp.mail.misc:3752
  2. Newsgroups: comp.unix.sys5.r4,comp.mail.misc
  3. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uchinews!machine!chinet!les
  4. From: les@chinet.chi.il.us (Leslie Mikesell)
  5. Subject: Re: Email header problems on SVR4.
  6. Message-ID: <Bxz9uI.HnI@chinet.chi.il.us>
  7. Organization: Chinet - Public Access UNIX
  8. References: <BxxC7p.C2A@chinet.chi.il.us> <1992Nov19.065450.11220@news.acns.nwu.edu>
  9. Date: Thu, 19 Nov 1992 19:23:05 GMT
  10. Lines: 66
  11.  
  12. In article <1992Nov19.065450.11220@news.acns.nwu.edu> skrenta@casbah.acns.nwu.edu (Rich Skrenta) writes:
  13.  
  14. >Smail's configuration files contain arguments and hooks to a vast array
  15. >of internal built-in rules.  I don't like this sort of design, since
  16. >it means that if the designer didn't happen to forsee every single rule
  17. >I want, I'm out of luck.
  18.  
  19. But it also gives you the hooks to external programs if you are willing
  20. to take the efficiency hit.  You can use an external programs as
  21. routers as well as transports.
  22.  
  23. >In other words:  I'd rather work on the rules themselves, than to
  24. >have the rules out of reach in an executable, and only be able to
  25. >change the arguments to them.
  26.  
  27. No problem.  Besides when you have the source, nothing is "out of
  28. reach".
  29.  
  30. >I know how to do these things in Unix with xargs and su and regexp's.
  31. >What variable names do the smail config files use?  How many of these
  32. >little built-in hooks are there?
  33.  
  34. Generally enough - and I do some oddball stuff.   And when there aren't
  35. enough, you can always run an external program.  What do you do when you
  36. want to specify the uid that a file should be written as, or an executable
  37. executed as?
  38.  
  39. >Most of your justification for smail is based on efficiency arguments.
  40. >I'd actually rather not have to sort my paths file.  The fact that a
  41. >mail daemon is running all the time with cached tables gives me the
  42. >creeps.  It bugs me to have to compile a sendmail configuration file.
  43.  
  44. Efficiency is important to me. But equally important is the fact that
  45. the delivery process is predictable and I can use "smail -v 200 address"
  46. to see a verbose description of every step of what can be a very
  47. complex process.  If any portion of the process isn't working I can
  48. count on the delivery being deferred and eventually getting a descriptive
  49. notification.  Even if part of a mailing list is delivered and part
  50. isn't due to a configuration error, smail has a pretty good chance of
  51. being able to pick up where it left off when the error is corrected
  52. and deliver to the remaining addresses.
  53.  
  54. And, by the way, you don't have to sort your files - smail will do
  55. a linear search if you want, and it stat()'s the files it has cached
  56. before each run so it will automatically pick up changes to them.
  57.  
  58. >The SMTP daemon should start up, eat its message, dump it into /bin/rmail,
  59. >and go away.  The mailer should be talking SMTP to other sites no more
  60. >than it should be talking uucp over tty's.
  61.  
  62. Heh, let's see what happens to your glued-together programs if PIPEDEV
  63. happens to fill up someday.  
  64.  
  65. >Efficiency just isn't important for most sites.  Let monster sites run
  66. >MegaMail, The Executable.  I want my mail system to be built out of
  67. >simple little scripts and programs I can understand.
  68.  
  69. Simple scripts lose their simplicity real quick when you combine them
  70. since the ways they can fail increase geometrically.  I'll bet that
  71. if someone made a random typo in your "little" configuration file
  72. and in one of my "complicated" smail files, I could find and fix
  73. mine faster because there would be a fair chance that smail would
  74. tell me what was wrong. 
  75.  
  76. Les Mikesell
  77.   les@chinet.chi.il.us
  78.